Bugzilla – Attachment 130034 Details for
Bug 29990
Show authority heading use in search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29990: Add ShowHeadingUse system preference
Bug-29990-Add-ShowHeadingUse-system-preference.patch (text/plain), 3.69 KB, created by
Aleisha Amohia
on 2022-02-01 03:22:36 UTC
(
hide
)
Description:
Bug 29990: Add ShowHeadingUse system preference
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2022-02-01 03:22:36 UTC
Size:
3.69 KB
patch
obsolete
>From 9b1163a3c44bfa8566f82a7b46e334b1956ccbc7 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 1 Feb 2022 00:11:11 +1300 >Subject: [PATCH] Bug 29990: Add ShowHeadingUse system preference > >--- > .../atomicupdate/bug_29990_-_add_ShowHeadingUse_syspref.pl | 12 ++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/searching.pref | 6 ++++++ > 3 files changed, 19 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_29990_-_add_ShowHeadingUse_syspref.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_29990_-_add_ShowHeadingUse_syspref.pl b/installer/data/mysql/atomicupdate/bug_29990_-_add_ShowHeadingUse_syspref.pl >new file mode 100644 >index 0000000000..bc9cff31a8 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_29990_-_add_ShowHeadingUse_syspref.pl >@@ -0,0 +1,12 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "29990", >+ description => "Add new system preference ShowHeadingUse", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ >+ $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('ShowHeadingUse', '0', NULL, 'Show whether authority record contains an established heading that conforms to descriptive cataloguing rules, and can therefore be used as a main/added entry, or subject, or series title', 'YesNo') }); >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 9cdd4f64ee..aa5720d2b1 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -617,6 +617,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('ShowAllCheckins', '0', '', 'Show all checkins', 'YesNo'), > ('ShowComponentRecords', 'nowhere', 'nowhere|staff|opac|both','In which record detail pages to show list of the component records, as linked via 773','Choice'), > ('MaxComponentRecords', '300', '','Max number of component records to display','Integer'), >+('ShowHeadingUse', '0', NULL, 'Show whether authority record contains an established heading that conforms to descriptive cataloguing rules, and can therefore be used as a main/added entry, or subject, or series title', 'YesNo' > ('showLastPatron','0','','If ON, enables the last patron feature in the intranet','YesNo'), > ('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'), > ('ShowReviewer','full','none|full|first|surname|firstandinitial|username','Choose how a commenter\'s identity is presented alongside comments in the OPAC','Choice'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref >index a0d7ec430d..701ca3b29e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref >@@ -282,6 +282,12 @@ Searching: > 1: Do > 0: "Don't" > - "make item MARC tags available to XSLT stylesheets. Default is \"Don't\", items are displayed using other methods." >+ - >+ - pref: ShowHeadingUse >+ choices: >+ 1: Show >+ 0: "Don't show" >+ - "whether an authority record contains an established heading that conforms to descriptive cataloguing rules, and can therefore be used as a main/added entry, or subject, or series title." > Did you mean/spell checking: > - > - "Swedish service for spellchecking.<br/>" >-- >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 29990
:
130034
|
130035
|
131583
|
131617
|
132606
|
132607
|
132608
|
133128