Bugzilla – Attachment 127677 Details for
Bug 29488
NumSavedReports system preference doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29488: make NumSavedReports work
Bug-29488-make-NumSavedReports-work.patch (text/plain), 1.27 KB, created by
Lucas Gass (lukeg)
on 2021-11-16 00:19:27 UTC
(
hide
)
Description:
Bug 29488: make NumSavedReports work
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-11-16 00:19:27 UTC
Size:
1.27 KB
patch
obsolete
>From f4106218cebc78636b5d7c5b940015e7a66746e8 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 >--- > .../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.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29488
:
127677
|
127698
|
127871