]> git.koha-community.org Git - koha.git/commit
Bug 15140: Add MARC21 776 to OPAC and staff display
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 16 Mar 2017 11:37:12 +0000 (12:37 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 26 Jul 2017 17:42:45 +0000 (14:42 -0300)
commit7b7ffef53db3e8f1ffe2bda17f11a0ae18d3bf3b
tree768ae5a4b416bbc945def342fe2ea30bdb32591e
parent6d8b26b01f505771fe0d359d29fff8bc963e5291
Bug 15140: Add MARC21 776 to OPAC and staff display

Adds code to opac and staff detail XSLT in order to show 776$t (or $a) 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.
[4] Empty 776$t and put text in $a. Check detail page again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Felix Hemme <felix.hemme@thulb.uni-jena.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl