Bugzilla – Attachment 107475 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), 3.43 KB, created by
Alex Buckley
on 2020-07-29 01:16:40 UTC
(
hide
)
Description:
Bug 26079: New syspref
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2020-07-29 01:16:40 UTC
Size:
3.43 KB
patch
obsolete
>From a8e0ee9b1bea03c3b929516a491994aa30c7f947 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 + > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/authorities.pref | 8 +++++++- > 3 files changed, 9 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/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index d67a02b367..eee9525c62 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -666,6 +666,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('UploadPurgeTemporaryFilesDays','',NULL,'If not empty, number of days used when automatically deleting temporary uploads','integer'), > ('uppercasesurnames','0',NULL,'If ON, surnames are converted to upper case in patron entry form','YesNo'), > ('URLLinkText','',NULL,'Text to display as the link anchor in the OPAC','free'), >+('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'), > ('UsageStats', 2, NULL, 'Share anonymous usage data on the Hea Koha community website.', 'YesNo'), > ('UsageStatsCountry', '', NULL, 'The country where your library is located, to be shown on the Hea Koha community website', 'Choice'), > ('UsageStatsID', '', NULL, 'This preference is part of Koha but it should not be deleted or updated manually.', 'Free'), >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