From 039634c7c0b06bf7a70b6efc75bbc1c4f433820e Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Wed, 25 Mar 2015 09:32:27 -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 | 97 +++++++------ .../prog/en/xslt/MARC21slim2intranetResults.xsl | 132 ++++++++++++------ .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 70 ++++++---- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 151 ++++++++++++--------- 4 files changed, 282 insertions(+), 168 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..221a2eb 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,44 @@ /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..aed2fc9 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,31 @@ /cgi-bin/koha/catalogue/search.pl?q=au:"" - - - . ; + + + + abcdqt + + + + :,;/ + + + + + + [ + + + + + ] + + + + + . | + @@ -372,8 +386,30 @@ /cgi-bin/koha/catalogue/search.pl?q=au:"" - - ; + + + + abcdqt + + + + :,;/ + + + + + [ + + + + + ] + + + + + . | + @@ -381,7 +417,8 @@ - n + n + @@ -394,9 +431,26 @@ /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..0dab452 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,17 +1086,30 @@ 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..951a627 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,87 @@ by + + + + abcdqt + + + + :,;/ + + + + + [ + + + + + ] + + - - . - - - ; - + + . | - -- + -- + + + + abcdqt + + + + :,;/ + + + + + [ + + + + + ] + + - - - - - ; - + + . | + + -- + + + + + abcdeqt + + + + :,;/ + + + + + [ + ] + + - - -- - - - - - - - n - - - - - - - . - - - ; - + + . | -- 1.9.5 (Apple Git-50.3)