From 63cecdee5058ce0d9f7db1e4f88f37a137b9ed52 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2015 10:51:19 +0100 Subject: [PATCH] [PASSED QA] 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 --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 3 ++- koha-tmpl/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 fa5629c..b961084 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 dbee0ab..48310c1 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(); -- 1.7.10.4