From 0a6276e62c7dc31ba590e514fe85ba07df514ce8 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Wed, 29 Jul 2020 01:05:42 +0000 Subject: [PATCH] Bug 26079: New syspref --- .../bug_26079-add_UseAuthority008AsAuthType_syspref.sql | 1 + .../prog/en/modules/admin/preferences/authorities.pref | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 installer/data/mysql/atomicupdate/bug_26079-add_UseAuthority008AsAuthType_syspref.sql diff --git a/installer/data/mysql/atomicupdate/bug_26079-add_UseAuthority008AsAuthType_syspref.sql b/installer/data/mysql/atomicupdate/bug_26079-add_UseAuthority008AsAuthType_syspref.sql new file mode 100644 index 0000000000..17d5a83512 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_26079-add_UseAuthority008AsAuthType_syspref.sql @@ -0,0 +1 @@ +INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('UseAuthority008AsAuthType', '0', NULL, 'If enabled all new authority records will be loaded into the default authority type and the 008 positions 14-16 will be used as the authoritative authority type', 'YesNo'); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/authorities.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/authorities.pref index 27734a2301..5363e1fb1c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/authorities.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/authorities.pref @@ -63,7 +63,13 @@ Authorities: "loose": loose "strict": strict - mode. In strict mode subfields that are not found in the authority record, are deleted. Loose mode will keep them. Loose mode is the historical behavior and still the default. - + - + - pref: UseAuthority008AsAuthType + default: no + choices: + yes: "Enable" + no: "Disable" + - If enabled all new authority records will be loaded into the default authority type and the 008 positions 14-16 will be used as the authoritative authority type. Linker: - - Use the -- 2.11.0