Bug 29488: make NumSavedReports work

1. Have a bunch of saved reports
2. Try to use the sys pref NumSavedReports to limit how many show by default
3. It doesn't work
4. Apply patch
5. Try again, now it should work

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>

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>
(cherry picked from commit 318467694d)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2021-11-16 00:17:38 +00:00 committed by Andrew Fuerste-Henry
parent d7f2e5bcc4
commit 87a1132ee3
1 changed files with 1 additions and 1 deletions

View File

@ -1719,7 +1719,7 @@
[% IF (saved1) %]
var rtable = KohaTable("table_reports", {
'iDisplayLength': [% Koha.Preference('NumSavedReports') | html %],
'pageLength': [% Koha.Preference('NumSavedReports') | html %],
'bAutoWidth': false,
'sPaginationType': 'full',
'aaSorting': [[ 1, "asc" ]],