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 <chris@bigballofwax.co.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit ad0711ba32)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
Katrin Fischer 2014-12-27 21:13:58 +01:00 committed by Chris Cormack
parent 6545e6765a
commit 28aae5f0da
2 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,8 @@ $(document).ready(function() {
],
"aoColumnDefs": [
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
]
],
"sPaginationType": "four_button"
} ));
$( "#find_patron" ).autocomplete({

View File

@ -11,7 +11,8 @@
$('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, {
"aoColumnDefs": [
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
]
],
"sPaginationType": "four_button"
} ));
});