Bugzilla – Attachment 107474 Details for
Bug 26079
Use 008 positions 14-16 as authoritative authority entry type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26079: New syspref
Bug-26079-New-syspref.patch (text/plain), 2.19 KB, created by
Alex Buckley
on 2020-07-29 01:06:31 UTC
(
hide
)
Description:
Bug 26079: New syspref
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2020-07-29 01:06:31 UTC
Size:
2.19 KB
patch
obsolete
>From 0a6276e62c7dc31ba590e514fe85ba07df514ce8 Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26079
:
107474
|
107475
|
107535
|
107536
|
107559