From 2c015f24a2aef1fbbd863d7559c42f346510bfe3 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 Signed-off-by: Tomas Cohen Arazi --- 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 f35f91037e4..6d2354f4d05 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -326,6 +326,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
    " -- 2.39.5