From 93cecc93eaa82c88753a8ecbb859daa41a868ac7 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 11 Feb 2009 17:01:01 -0600 Subject: [PATCH] changes to OPAC results and detail XSLT Various changes to OPAC search results and bib detail display for MARC21. * Search results [1] 245 subfields will be displayed in order $a, $b, $h, then rest of subfields in the order they appear in the record. [2] New edition field from 250$a, displayed under author [3] New other title field from 246$a$b, displayed under call number * Bib details [1] 245 subfields will be displayed in order $a, $b, $h, then rest of subfields in the order they appear in the record. [2] New edition field from 250$a$b, displayed under publisher [3] New description field from 300$a$b$c$e$g, under the edition. [4] New other title field from the 246$i$a$b$h$f$g$n$p, above the uniform title field. [6] All 6XX fields are displayed in the subjects field. [7] '--' now separates subdivisions in subject headings. Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 71 +++++++++++++- .../prog/en/xslt/MARC21slim2OPACResults.xsl | 93 ++++++++----------- .../prog/en/xslt/MARC21slimUtils.xsl | 7 +- 3 files changed, 113 insertions(+), 58 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index b368886724..34ff0c5388 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -54,7 +54,22 @@

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

@@ -62,7 +77,6 @@ -
by @@ -169,7 +183,37 @@ - + + Edition: + + + + + ab + + + + .; + + + + + + Description: + + + + + abceg + + + + .; + + + + + ISBN: @@ -189,6 +233,21 @@ + + Other Title: + + + + + iabhfgnp + + + + .; + + + + Uniform titles: @@ -211,9 +270,9 @@ - + Related Subjects: - + @@ -227,6 +286,8 @@ abcdvxyz + vxyz + -- diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl index 2a9947203d..f027546d0b 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl @@ -377,19 +377,24 @@ - - - - b - afghk + + a - - - - abfgk - - - + + + + b + + + + + + h + + + + fgknps + @@ -399,20 +404,6 @@ - - : - - - - b - b - afghk - - - - - . ; - @@ -457,6 +448,18 @@

+ + + + Edition: + + + ab + + + + + Type: @@ -805,6 +808,18 @@ + + + Other title: + + + ab + + + + + + Availability: @@ -1005,32 +1020,6 @@ - - - - n - n - fghkdlmor - - - - - p - p - fghkdlmor - - - - - - - - - - - - - diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl index acfe598f5a..edd28c3583 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -22,9 +22,14 @@ + + + + + @@ -62,4 +67,4 @@ ---> \ No newline at end of file +--> -- 2.20.1