From e2f8aa33e3dca92b7ed2b33b379161d588d363e0 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 28 Aug 2014 15:17:10 +0200 Subject: [PATCH] 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. --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 16 ++++++++++++++++ .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 6711f9d..04becab 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -556,6 +556,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 fe8daac..293a4a6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -619,6 +619,23 @@ + + + + DDC classification: + + + a + + + + | + + + + + + Online resources: -- 2.1.2