From 4dd7a8d7f3b5a75470a311d45112e8ee8cb76919 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 28 Aug 2014 15:17:10 +0200 Subject: [PATCH] [PASSED QA] Bug 12842: Add DDC classification numbers to MARC21 XSLT detail page Patch will add DDC classifications, divided with | below the subjects in the OPAC and staff detail pages. To test: - catalogue a record with one or mulitple 082$a subfields - verify the classifications are displayed in OPAC and staff detail page - Add following CSS to OpacUserCSS or IntranetUserCSS: .results_summary.ddc { display:none; } - Verify the DDC classifications are now no longer displayed Signed-off-by: Frederic Demians Test plan ok. Repetions of $a subfield are separated by a space, which seems correct. I'm not sure whether other subfield than $a should be displayed on intranet. Whatever, this could be added later. Signed-off-by: Kyle M Hall --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 16 ++++++++++++++++ .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 17 +++++++++++++++++ 2 files changed, 33 insertions(+), 0 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index f96c0eb..349dbea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -565,6 +565,22 @@ + + + + DDC classification: + + + a + + + + | + + + + + Online resources: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index af9ac00..11624c4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -625,6 +625,23 @@ + + + + DDC classification: + + + a + + + + | + + + + + + Online resources: -- 1.7.2.5