From e20f5196f3d3c95ed0603c8500c4789edae4953d 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 --- 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" } )); }); -- 1.9.1