From d8f0fe2ff7a711125fab271b0ad270e68269c67b 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 --- .../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 9a08801..0b3afc0 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 f70d086..45c6581 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.3.2 (Apple Git-55)