From 84fd07658f2845702d20acfcdb1a30e8309c83cc Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 5 Aug 2025 15:50:31 +0000 Subject: [PATCH] Bug 39802: Add LostChargesControl system preference --- installer/data/mysql/mandatory/sysprefs.sql | 3 ++- .../en/modules/admin/preferences/circulation.pref | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index 76954d20229..ff987d495fb 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -400,6 +400,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('LocalHoldsPriorityItemControl', 'holdingbranch', 'holdingbranch|homebranch', 'decides if the feature operates using the item''s home or holding library.', 'Choice'), ('LocalHoldsPriorityPatronControl', 'PickupLibrary', 'HomeLibrary|PickupLibrary', 'decides if the feature operates using the library set as the patron''s home library, or the library set as the pickup library for the given hold.', 'Choice'), ('LockExpiredDelay','','','Delay for locking expired patrons (empty means no locking)','Integer'), +('LostChargesControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the charges for items being marked lost','Choice'), ('makePreviousSerialAvailable','0','','make previous serial automatically available when collecting a new serial. Please note that the item-level_itypes syspref must be set to specific item.','YesNo'), ('Mana','2',NULL,'request to Mana Webservice. Mana centralize common information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana.','Choice'), ('ManaToken','',NULL,'Security token used for authentication on Mana KB service (anti spam)','Textarea'), @@ -889,4 +890,4 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'), ('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'), ('z3950Status','','','This syspref allows to define custom YAML based rules for marking items unavailable in z3950 results.','Textarea') -; \ No newline at end of file +; 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 ef3c7acc011..74025d2159b 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 @@ -1228,6 +1228,15 @@ Circulation: - pref: ProcessingFeeNote type: textarea class: code + - + - Use the lost charge rules of + - pref: LostChargesControl + type: choice + choices: + PickupLibrary: the library you are logged in at + PatronLibrary: the library the patron is from + ItemHomeLibrary: the library the item is from + - . Self check-in module: - - pref: SelfCheckInModule @@ -1534,4 +1543,4 @@ Circulation: choices: 1: Enable 0: Disable - - "the curbside pickup module." \ No newline at end of file + - "the curbside pickup module." -- 2.39.5