Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref
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

58 lines
2.3 KiB
Text

Tools:
Barcodes:
-
- Split barcodes on the following separator chars
- pref: BarcodeSeparators
default: '\s\r\n'
- "in batch item modification and inventory.<br/>Note: Type \\r for carriage return, \\n for newline and \\s for whitespace. Possible candidates to include also are pipe char |, hyphen (precede with backslash), comma, semicolon, dot, etc."
Batch item:
-
- Process up to
- pref: MaxItemsToProcessForBatchMod
class: integer
- items in a single item modification batch.
-
- Display up to
- pref: MaxItemsToDisplayForBatchDel
class: integer
- items in a single item deletion batch.
-
- Display up to
- pref: MaxItemsToDisplayForBatchMod
class: integer
- items in a single item modification batch.
Patron cards:
-
- Limit the number of creator images stored in the database to
- pref: ImageLimit
class: Integer
- images.
News:
-
- "Show the author for news items:"
- pref: NewsAuthorDisplay
choices:
none: "not at all"
opac: "OPAC only"
staff: "staff interface only"
both: "both OPAC and staff interface"
- "."
-
- By default edit additional contents and news items with
- pref: AdditionalContentsEditor
choices:
tinymce: "a WYSIWYG editor (TinyMCE)"
codemirror: "a text editor (CodeMirror)"
- .
Upload:
-
- Automatically delete temporary uploads older than
- pref: UploadPurgeTemporaryFilesDays
class: integer
- "days in cleanup_database cron job. NOTE: If you leave this field empty, the cron job will not delete any files. On the other hand a value of 0 means: delete all temporary files."
Reports:
-
- By default, show
- pref: NumSavedReports
class: integer
- reports on the saved reports page. A value of 20 is recommended. If empty, all reports will be shown.