From a2861f461d380d8674444e8344f39ae5adb5a1fa Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 16 Mar 2017 12:37:12 +0100 Subject: [PATCH] Bug 15140: 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. Signed-off-by: Marcel de Rooy --- .../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 5ebecbf..9713dee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -753,6 +753,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 6bc54b1..652b463 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -805,6 +805,36 @@ + + + + Additional physical formats: + + + + + + /cgi-bin/koha/opac-detail.pl?biblionumber= + + + + + + + + + + + + + + + ; + + + + + -- 2.1.4