From ad0711ba32c7ad90ad18607e5a27ece97b8ef7cd 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 Signed-off-by: Tomas Cohen Arazi --- 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 b55da337f3..f348cb61ef 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 2703144913..884bb8f5d6 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.39.5