From f0af047c26fc0caf73a597ed163236919abd985f Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 14 Nov 2024 09:53:32 -0100 Subject: [PATCH] Bug 38441: New 'ILLHistoryCheck' system preference Signed-off-by: Lisette Scheer --- installer/data/mysql/mandatory/sysprefs.sql | 1 + .../en/modules/admin/preferences/interlibrary_loans.pref | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index 0e3c447e18d..0a4082638fb 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -324,6 +324,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('ILLCheckAvailability', 0, '', 'If ON, during the ILL request process third party sources will be checked for current availability', 'YesNo'), ('ILLDefaultStaffEmail', '', NULL, 'Fallback email address for staff ILL notices to be sent to in the absence of a branch address', 'Free'), ('ILLHiddenRequestStatuses', NULL, NULL, 'ILL statuses that are considered finished and should not be displayed in the ILL module', 'multiple'), +('ILLHistoryCheck', 0, '', 'If ON, during the ILL request process, a check is performed to see if the ILL request has already been previously placed', 'YesNo'), ('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'), ('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'), ('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref index 1b4916debc2..3763ec93530 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref @@ -63,6 +63,13 @@ Interlibrary loans: 1: Check 0: "Don't check" - external sources for availability during the request process. + - + - pref: ILLHistoryCheck + default: 0 + choices: + 1: Check + 0: "Don't check" + - if an ILL request has already been placed during the request process. - - "If the ILL backend supports it, adding YAML will enable the request type disclaimer stage in request creation, prompting the user with a request type specific disclaimer as defined (staff interface and OPAC)." - "For each request type, you can have 3 configuration options: text, av_category_code and bypass