From 30822643d030100e56d53c0e8be9b3e6081dfe0c Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Wed, 15 Apr 2015 21:15:38 -0400 Subject: [PATCH] Bug 13433 - 655 display in XSLT Test Plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff and opac record details 3) Find or create a record with MARC tags 655 4) Perform an opac search and select records with 655 field that would show the record in the search results 5) Note this patch adds field 655 to display. Displays subfields a,v,x,y,z. uses a vertical bar to separate multiple titles. Vertical bar is wrapped in span class="separator" for easy suppression/customization of separator. 6) Repeat steps 4 and 5 for the staff interface Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../en/xslt/MARC21slim2intranetDetail.xsl | 25 +++++++++++++++++-- .../en/xslt/MARC21slim2OPACDetail.xsl | 25 +++++++++++++++++-- 2 files changed, 46 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 6b41f570d6..ccfa5d3f95 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -525,9 +525,9 @@ - + Subject(s): - + @@ -569,9 +569,30 @@ Genre/Form: + + + + /cgi-bin/koha/catalogue/search.pl?q=an: + + + /cgi-bin/koha/catalogue/search.pl?q= + avxyz + AND + (su: + ) + + + + + /cgi-bin/koha/catalogue/search.pl?q=su: + + avxyz + vxyz + -- + | diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index b711b46bac..6259bd6ab0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -572,9 +572,9 @@ - + Subject(s): - + @@ -629,8 +629,29 @@ Genre/Form: + + + + /cgi-bin/koha/opac-search.pl?q=an: + + + /cgi-bin/koha/opac-search.pl?q= + avxyz + AND + (su: + ) + + + + + /cgi-bin/koha/opac-search.pl?q=su: + + + avxyz + vxyz + -- | -- 2.39.5