From b563e97b59e92ab03712cdae766e29f074bee6e5 Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Thu, 4 Jun 2015 22:30:49 -0400 Subject: [PATCH] [SIGNED OFF] 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 --- .../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 d077e35..15ef3d4 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..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 8b7d559..02e67f7 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..4f484b2 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.9.1