From de3aab8da8d7725593881acc4813e4c22161559b Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Wed, 15 Apr 2015 21:15:38 -0400 Subject: [PATCH] [PASSED QA] 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 --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 25 ++++++++++++++++++- .../bootstrap/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 9ff58e1..7a4f0db 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 bfaeb1b..79a8a62 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 + -- | -- 1.7.2.5