From af5b1e720179c16789b324b4b87c65fb0c84e15c Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Wed, 1 Apr 2015 13:57:53 -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 |. 7) Repeat steps 4 - 6 for the staff interface --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 103 +++++++++----- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 139 +++++++++++++----- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 89 +++++++----- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 158 +++++++++++++-------- 4 files changed, 315 insertions(+), 174 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 349dbea..6a4ef62 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -103,25 +103,27 @@

- - a - - - - - h - - - - - - b - - - - - fgknps - + + a + + + + + + + + + + + + + + + + + + +

@@ -964,7 +966,8 @@ - Author(s): + + By: Additional author(s): @@ -973,28 +976,50 @@ /cgi-bin/koha/catalogue/search.pl?q=an: - /cgi-bin/koha/catalogue/search.pl?q=au:"" + /cgi-bin/koha/catalogue/search.pl?q=au:"" - - - - - - - - - [ - - - - - ] - - - + + + + + + + + abcdeqt + abcdqt + + + + + + :,;/ + + + + + + + [ + + + + + + + + + + + + + ] + + + - .; + + . | diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index 585b81a..7688f08 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -302,37 +302,29 @@ title - - - - a - - - - - h - - - - - - b - - - - - fgknps - - - - - - - + + + a - - - + + + + + + + + + + + + + + + + + + + @@ -357,9 +349,32 @@ /cgi-bin/koha/catalogue/search.pl?q=au:"" - - - . ; + + + + abcdqt + + + + :,;/ + + + + + + [ + + + + + + ] + + + + + . | + @@ -372,8 +387,31 @@ /cgi-bin/koha/catalogue/search.pl?q=au:"" - - ; + + + + abcdqt + + + + :,;/ + + + + + [ + + + + + + ] + + + + + . | + @@ -381,7 +419,8 @@ - n + n + @@ -394,9 +433,31 @@ /cgi-bin/koha/catalogue/search.pl?q=au:"" - - . ; - + + + + abcdeqt + + + + :,;/ + + + + + [ + + + + + + ] + + + + + . | +

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 11624c4..8104b25 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -120,29 +120,31 @@
- +

- - a - - - - - h - - - - - - b - - + + a + - - fgknps - + + + + + + + + + + + + + + + + +

@@ -1043,7 +1045,8 @@ - ; + + | @@ -1083,21 +1086,41 @@ Organization - - - - - + + + + + + + + abcdeqt + abcdqt + + + + + + :,;/ + + - - + + - [ - - - - - ] + [ + + + + + + + + + + + + + ] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 1609ef0..104900e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -415,37 +415,29 @@ title - - - - a - - - - - h - - - - - - b - - - - - fgknps - - - - - - - + + + a - - - + + + + + + + + + + + + + + + + + + +

@@ -463,54 +455,94 @@ by + + + + abcdqt + + + + :,;/ + + + + + [ + + + + + + ] + + - - . - - - ; - + + . | - -- + -- + + + + abcdqt + + + + :,;/ + + + + + [ + + + + + + ] + + - - - - - ; - + + . | + + -- + + + + + abcdeqt + + + + :,;/ + + + + + [ + + + + + + ] + + - - -- - - - - - - - n - - - - - - - . - - - ; - + + . | -- 1.9.5 (Apple Git-50.3)