Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard 600f9648e8 Bug 29530: Fix handling of NumSavedReports preference in reports table
This patch updates the way the NumSavedReports preference value is used
on the saved reports page so that the setting is correctly incorporated
into the DataTable.

The patch also expands the description of the NumSavedReports preference
in order to clarify the expected behavior when no value is saved.

To test, apply the patch and go to Administration -> System
preferences and note the value of NumSavedReports.

 - Go to Reports -> Use saved.
 - Confirm that the first page of saved reports shows the number
   specified in NumSavedReports.
 - In the "Show" dropdown menu, confirm that the number from
   NumSavedReports is preselected by default.
   - Expand the dropdown menu to confirm that the NumSavedReports number
     is positioned sequentially with the default values. For example, if
     NumSavedReports = "78," the menu options should be
     "10, 20, 50, 78, 100, All".
 - Test with various values of NumSavedReports. A blank value should
   result in the "All" option being selected. A non-numeric or
   non-positive value should result in the default set of options being
   used ("10, 20, 50, 100, All").

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-13 16:37:32 -10:00
..
data Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
includes Bug 29788: Fix batch delete item 2022-01-11 12:38:35 -10:00
modules Bug 29530: Fix handling of NumSavedReports preference in reports table 2022-01-13 16:37:32 -10:00
xslt Bug 29556: MARC21slim2MODS.xsl broken by duplicate template name "part" 2021-12-02 21:01:10 -10:00
columns.def Bug 28490: Revert "Bug 26995: Remove references to relationship column" 2021-06-14 17:35:19 +02:00