From 878dd7d9b2e993f167f532930d93ac343961a156 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 27 Dec 2014 21:13:58 +0100 Subject: [PATCH] Bug 13459: Fix datatables paging for patron lists The display of the datatables paging options for the patron list feature is broken. To test: - Go to tools > patron lists - The paging for the 'list of lists' is broken - Select a patron list 'Add more patrons' - Notice the paging on this page is also broken - Apply patch - Verify both pages now display the paging correctly Signed-off-by: Chris Cormack Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt index b55da33..f348cb6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt @@ -17,7 +17,8 @@ $(document).ready(function() { ], "aoColumnDefs": [ { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, - ] + ], + "sPaginationType": "four_button" } )); $( "#find_patron" ).autocomplete({ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt index 2703144..884bb8f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt @@ -11,7 +11,8 @@ $('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, { "aoColumnDefs": [ { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, - ] + ], + "sPaginationType": "four_button" } )); }); -- 2.1.0