From b0826068bcc7f1c04c87d95d65094122bac859a9 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 16 Nov 2021 00:17:38 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- .../prog/en/modules/reports/guided_reports_start.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 46e2bd4e07..5a0a5b16be 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -1767,7 +1767,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" ]], -- 2.39.5