Bug 29820: Set paging option using boolean instead of string

Bug 28450, "Make Account summary print tables configurable," added
DataTables to the print summary view. The updated page includes the
wrong option:

"paging": "false",

It should be:

"paging": false,

Because DataTables expects that option to be boolean (true or false).

To test, apply the patch and check out to a patron who has more than 20
checkouts and more than 20 holds.

 - From the toolbar, click Print -> Print summary.
 - On the acount summary page, confirm that the "Items checked out" and
   "Pending holds" tables show ALL entries, not just the first 20.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2022-01-07 19:34:21 +00:00 committed by Kyle Hall
parent 4f59dc8fb9
commit 33ac9507d9
1 changed files with 3 additions and 3 deletions

View File

@ -225,7 +225,7 @@
KohaTable("print-summary-checkouts", {
"dom": "Bt",
"paging": "false",
"paging": false,
initComplete: function( settings) {
moveColumnsButton( settings.nTable.id );
}
@ -233,7 +233,7 @@
KohaTable("print-summary-holds", {
"dom": "Bt",
"paging": "false",
"paging": false,
initComplete: function( settings) {
moveColumnsButton( settings.nTable.id );
}
@ -241,7 +241,7 @@
KohaTable("print-summary-fines", {
"dom": "Bt",
"paging": "false",
"paging": false,
initComplete: function( settings) {
moveColumnsButton( settings.nTable.id );
}