From ced810c02187a09d9604509911571f12a5706dec Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Thu, 4 Jun 2015 22:30:49 -0400 Subject: [PATCH] Bug 13383 - RDA: 100/110/111 changes to XSLT Test plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff and opac search results and record details 3) Find or create a record with MARC tags 100,110,111 4) Perform an opac search that would show the record in the search results. 5) Click title to review record. 6) Note the fields updates 100,110,111 to show subfields a,b,c,d,q and t.Multiple fields are separated by span class=separator |. Includes 100$j and handles multiple relator terms/codes. 7) Repeat steps 4 - 6 for the staff interface --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 84 ++++++++++---- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 128 +++++++++++++-------- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 55 +++++++-- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 113 ++++++++++-------- 4 files changed, 247 insertions(+), 133 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index d077e35..44b409e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1122,7 +1122,8 @@ - Author(s): + + By: Contributor(s): @@ -1136,9 +1137,25 @@ - - - + + + + + + + + + abcdeqt + abcdjqt + + + + + + :,;/ + + + @@ -1159,26 +1176,45 @@ - - - [ - - - - - , - - - - - - , - - - - ] - - + + + + [ + + + + + + + + , + + + + + + , + + + + + + + + + , + + + + + + , + + + + ] + + . | diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index 1f82eff..5ead6db 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -339,57 +339,83 @@

by - - - - - /cgi-bin/koha/catalogue/search.pl?q=an: - - - /cgi-bin/koha/catalogue/search.pl?q=au:"" - - - - - . ; - - - - - - - /cgi-bin/koha/catalogue/search.pl?q=an: - - - /cgi-bin/koha/catalogue/search.pl?q=au:"" - - - - ; - - - - - - - - n - - - - - - - /cgi-bin/koha/catalogue/search.pl?q=an: - - - /cgi-bin/koha/catalogue/search.pl?q=au:"" - - - - . ; - - + + + + + + n + + + + + + + /cgi-bin/koha/catalogue/search.pl?q=an: + + + /cgi-bin/koha/catalogue/search.pl?q=au:"" + + + + + + + + + abcdeqt + abcdjqt + + + + + + :,;/ + + + + + + [ + + + + + + + + , + + + + + + , + + + + + + + + + , + + + + + + , + + + + ] + + + + . | + +

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 8b7d559..c7b73bc 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1188,7 +1188,8 @@ - Author(s): + + By: Contributor(s): @@ -1232,9 +1233,25 @@
- - - + + + + + + + + + abcdeqt + abcdjqt + + + + + + :,;/ + + + @@ -1254,11 +1271,29 @@ - - + + [ + + + + + + + , + + + + + + , + + + + + @@ -1287,10 +1322,10 @@ -
- - . | - + + . | + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 24f15ca..c922a66 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -454,57 +454,74 @@ by - - - - . - - - ; - - - - - - - - -- - - - - - - - - ; - - - - - - - - -- - - - - - - - n - - - - + + + + + + n + + + + + + + + + + abcdeqt + abcdjqt + + + + + + :,;/ + + + + + [ + + + + + + + + , + + + + + + , + + + + + + + + + , + + + + + + , + + + + ] + + - - . - - - ; - + . | + -- 2.3.2 (Apple Git-55)