Bug 13863: Fix Datatables paging on the cities and search history pages

Test plan:
Go on admin/cities.pl and catalogue/search-history.pl and confirm the
pagination is not broken anymore.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2015-03-18 10:51:19 +01:00 committed by Tomas Cohen Arazi
parent c9a52f739c
commit 031cccb674
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,8 @@
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
],
"aaSorting": [[ 1, "asc" ]],
"iDisplayLength": 10
"iDisplayLength": 10,
"sPaginationType": "full_numbers"
}));
});
//]]>

View File

@ -18,6 +18,7 @@ $(document).ready(function() {
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
{ "aTargets": [ 1 ], "sType": "title-string" },
],
"sPaginationType": "full_numbers"
}));
$('#tabs').tabs();