From 031cccb6740cff2ec449f5fa219a872589d76974 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2015 10:51:19 +0100 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 3 ++- .../intranet-tmpl/prog/en/modules/catalogue/search-history.tt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt index fa5629ccdb..b961084016 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt @@ -11,7 +11,8 @@ { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, ], "aaSorting": [[ 1, "asc" ]], - "iDisplayLength": 10 + "iDisplayLength": 10, + "sPaginationType": "full_numbers" })); }); //]]> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt index dbee0ab418..48310c132b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt @@ -18,6 +18,7 @@ $(document).ready(function() { { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, { "aTargets": [ 1 ], "sType": "title-string" }, ], + "sPaginationType": "full_numbers" })); $('#tabs').tabs(); -- 2.39.5