From d139a656be690bb1c01cb397162977cd117ac402 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 16 Mar 2017 12:37:12 +0100 Subject: [PATCH] Bug 15140: [3.22] Add MARC21 776 to OPAC and staff display Content-Type: text/plain; charset=utf-8 Adds code to opac and staff detail XSLT in order to show 776$t and a link based on 776$w (record control number). $w should be in the form: (MARCOrgCode)Record-number For instance: (NL-AmRIJ)12345 Note: You should have enabled default opac/intranet XSLT view. Test plan: [1] Add two 776s (one with $t and $w and one with $t only) [2] Verify that you see "Additional physical formats" on opac-detail. Does the link for $w work? [3] Check intranet detail too. --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 30 ++++++++++++++++++++++ .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 30 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index e651c64..822f1d5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -743,6 +743,36 @@ + + + + Additional physical formats: + + + + + + /cgi-bin/koha/catalogue/detail.pl?biblionumber= + + + + + + + + + + + + + + + ; + + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index a833288..37ea0d9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -803,6 +803,36 @@ + + + + Additional physical formats: + + + + + + /cgi-bin/koha/opac-detail.pl?biblionumber= + + + + + + + + + + + + + + + ; + + + + + -- 2.1.4