Bugzilla – Attachment 141495 Details for
Bug 30036
Add XSLT for authority results view in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30036: (QA follow-up) Move system preference to OPAC tab
Bug-30036-QA-follow-up-Move-system-preference-to-O.patch (text/plain), 5.43 KB, created by
Katrin Fischer
on 2022-10-07 11:17:32 UTC
(
hide
)
Description:
Bug 30036: (QA follow-up) Move system preference to OPAC tab
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-07 11:17:32 UTC
Size:
5.43 KB
patch
obsolete
>From 5a01c40634eb6ee86346a9cb8ea5feb3af10fde1 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Fri, 7 Oct 2022 11:12:32 +0000 >Subject: [PATCH] Bug 30036: (QA follow-up) Move system preference to OPAC tab > >* Moves the AuthorityXSLTOpacResultsDisplay from staff interface to OPAC tab >* Fixes some capitalization opac in the database pref description > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > installer/data/mysql/atomicupdate/bug-30036.pl | 2 +- > installer/data/mysql/mandatory/sysprefs.sql | 2 +- > .../prog/en/modules/admin/preferences/opac.pref | 5 +++++ > .../prog/en/modules/admin/preferences/staff_interface.pref | 7 +------ > 4 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug-30036.pl b/installer/data/mysql/atomicupdate/bug-30036.pl >index 13a97986e3..de0c91d710 100644 >--- a/installer/data/mysql/atomicupdate/bug-30036.pl >+++ b/installer/data/mysql/atomicupdate/bug-30036.pl >@@ -9,7 +9,7 @@ return { > > $dbh->do(q{ > INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) >- VALUES ('AuthorityXSLTOpacResultsDisplay','','','Enable XSL stylesheet control over authority results page display on opac','Free') >+ VALUES ('AuthorityXSLTOpacResultsDisplay','','','Enable XSL stylesheet control over authority results page in the OPAC','Free') > }); > }, > }; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 3f46724434..fd91b5eb9a 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -70,7 +70,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('AuthorityMergeLimit','50',NULL,'Maximum number of biblio records updated immediately when an authority record has been modified.','integer'), > ('AuthorityMergeMode','loose','loose|strict','Authority merge mode','Choice'), > ('AuthoritySeparator','--','10','Used to separate a list of authorities in a display. Usually --','free'), >-('AuthorityXSLTOpacResultsDisplay','','','Enable XSL stylesheet control over authority results page display on opac','Free'), >+('AuthorityXSLTOpacResultsDisplay','','','Enable XSL stylesheet control over authority results page in the OPAC','Free'), > ('AuthorityXSLTResultsDisplay','','','Enable XSL stylesheet control over authority results page display on intranet','Free'), > ('AuthSuccessLog','0',NULL,'If enabled, log successful authentications','YesNo'), > ('autoBarcode','OFF','incremental|annual|hbyymmincr|EAN13|OFF','Used to autogenerate a barcode: incremental will be of the form 1, 2, 3; annual of the form 2007-0001, 2007-0002; hbyymmincr of the form HB08010001 where HB=Home Branch','Choice'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index d9641af5fe..be837d6a90 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -101,6 +101,11 @@ OPAC: > - pref: OPACXSLTDetailsDisplay > class: file > - '<br />Options:<ul><li>Enter "<a href="#" class="set_syspref" data-syspref="OPACXSLTDetailsDisplay" data-value="default">default</a>" for the default stylesheet</li><li>Put a path to define an xslt file</li><li>Put a URL for an external specific stylesheet.</li></ul>If you have multiple stylesheets for different languages the placeholder {langcode} will be replaced with current interface language.' >+ - >+ - 'Display authority results in the OPAC using the XSLT stylesheet at: ' >+ - pref: AuthorityXSLTOpacResultsDisplay >+ class: file >+ - '<br />Options:<ul><li>Enter a path to a custom XSLT file.</li><li>Enter a URL for an external stylesheet.</li></ul>If you have multiple stylesheets for: <ul><li>different languages: use the placeholder {langcode} - this will be replaced with the current interface language</li><li>authority types: use the placeholder {authtypecode} - this will be replaced with the authority type code' > - > - pref: OpacNoItemTypeImages > default: 0 >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref >index 7901b3625d..1107c2b190 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref >@@ -1,10 +1,5 @@ >-Staff interface: >+gStaff interface: > Appearance: >- - >- - 'Display authority results in the OPAC using the XSLT stylesheet at: ' >- - pref: AuthorityXSLTOpacResultsDisplay >- class: file >- - '<br />Options:<ul><li>Enter a path to a custom XSLT file.</li><li>Enter a URL for an external stylesheet.</li></ul>If you have multiple stylesheets for: <ul><li>different languages: use the placeholder {langcode} - this will be replaced with the current interface language</li><li>authority types: use the placeholder {authtypecode} - this will be replaced with the authority type code' > - > - 'Display authority results in the staff interface using XSLT stylesheet at: ' > - pref: AuthorityXSLTResultsDisplay >-- >2.30.2
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 30036
:
130223
|
130232
|
140002
|
140332
|
140406
|
140407
|
141493
|
141494
| 141495 |
142721
|
142722