From 68548258c6074ace88a08f15a4324eaec1a6ed22 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 22 Sep 2025 21:41:26 +0000 Subject: [PATCH] Bug 26993: System preference updates Signed-off-by: Trevor Diamond --- installer/data/mysql/mandatory/sysprefs.sql | 2 +- .../prog/en/modules/admin/preferences/circulation.pref | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index 0d77d5ba947..0e4b045080e 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -780,7 +780,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('StaticHoldsQueueWeight','0',NULL,'Specify a list of library location codes separated by commas -- the list of codes will be traversed and weighted with first values given higher weight for holds fulfillment -- alternatively, if RandomizeHoldsQueueWeight is set, the list will be randomly selective','Integer'), ('StatisticsFields','location|itype|ccode', NULL, 'Define Fields (from the items table) used for statistics members','Free'), ('StockRotation','0',NULL,'If ON, enables the stock rotation module','YesNo'), -('StoreLastBorrower','0','','If ON, the last borrower to return an item will be stored in items.last_returned_by','YesNo'), +('StoreLastBorrower','0','','Defines the number of borrowers stored per item in the items_last_borrower table','Integer'), ('StripWhitespaceChars','0',NULL,'Strip leading and trailing whitespace characters and inner newlines from input fields when cataloguing bibliographic and authority records.','YesNo'), ('SubfieldsToAllowForRestrictedBatchmod','','Define a list of subfields for which edition is authorized when items_batchmod_restricted permission is enabled, separated by spaces. Example: 995\$f 995\$h 995\$j',NULL,'Free'), ('SubfieldsToAllowForRestrictedEditing','','Define a list of subfields for which edition is authorized when edit_items_restricted permission is enabled, separated by spaces. Example: 995\$f 995\$h 995\$j',NULL,'Free'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref index 82070552d6c..c3dff13f4ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -758,12 +758,11 @@ Circulation: 0: "Don't" - automatically confirm a transfer when the modal is dismissed without clicking 'Yes'. - + - Store the last - pref: StoreLastBorrower default: 0 - choices: - 1: Store - 0: "Don't store" - - 'the last patron to return an item. This setting is independent of the opacreadinghistory and AnonymousPatron system preferences.' + class: integer + - 'patron(s) to return an item. This setting is independent of the opacreadinghistory and AnonymousPatron system preferences. Leave empty or set to 0 to disable the preference.' Holds policy: - - Default the holds ratio report to -- 2.39.5