From 5df69251da6d083aada011445f2ce17a27a3b0b1 Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Thu, 4 Jun 2015 22:30:49 -0400 Subject: [PATCH] [PASSED QA] 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 Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 84 +++++++++---- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 128 ++++++++++++-------- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 55 +++++++-- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 111 ++++++++++------- 4 files changed, 246 insertions(+), 132 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 73a2126..24e31c9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1123,7 +1123,8 @@ - Author(s): + + By: Contributor(s): @@ -1137,9 +1138,25 @@ - - - + + + + + + + + + abcdeqt + abcdjqt + + + + + + :,;/ + + + @@ -1160,26 +1177,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..e913ce5 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 695c39f..1e74811 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1189,7 +1189,8 @@ - Author(s): + + By: Contributor(s): @@ -1233,9 +1234,25 @@
- - - + + + + + + + + + abcdeqt + abcdjqt + + + + + + :,;/ + + + @@ -1255,11 +1272,29 @@ - - + + [ + + + + + + + , + + + + + + , + + + + + @@ -1288,10 +1323,10 @@ -
- - . | - + + . | + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 167f46d..4623dff 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 + + + + + + + + + + abcdeqt + abcdjqt + + + + + + :,;/ + + + + + [ + + + + + + + + , + + + + + + , + + + + + + + + + , + + + + + + , + + + + ] + + - - - - - ; - + . | - - - - -- - - - - - - - n - - - - - - - . - - - ; - - - -- 1.7.2.5