]> git.koha-community.org Git - koha.git/commit
Bug 30036: Allow XSLT for authority results view in OPAC
authorjeremy breuillard <jeremy.breuillard@biblibre.com>
Mon, 7 Feb 2022 11:34:52 +0000 (12:34 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 27 Oct 2022 12:54:35 +0000 (09:54 -0300)
commitc593ffd8fb718bb461d4df1269f6c4487b06d03e
tree61d027c13fac6bd9204158dd0326b177f0e4bb49
parent0ec29e5d4ecdf5dd3156b53320eac1250d065e3b
Bug 30036: Allow XSLT for authority results view in OPAC

This patch adds a syspref to allow customizing the authority results
view at OPAC with XSLT

Test plan:
1. For testing make sure to have at least one or more authorities
   defined
2. OPAC: Home > Authority search(Submit) > Authority search results
   Notice the normal view of results
3. Apply patch
4. INTRA: Home > Administration > System preferences ->find
   "AuthorityXSLTOpacResultsDisplay"
5. Write the path where your file is. You can use the one for intranet:
   .../koha/koha-tmpl/intranet-tmpl/prog/en/XSLT/UNIMARCauthResults.xsl
6. Save changes
7. Repeat step 2 and notice the xslt view of results

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug-30036.pl [new file with mode: 0644]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt
opac/opac-authorities-home.pl