From fee5886432f5189c0a035b48757fff0829f08844 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 17 Sep 2020 12:13:36 +0000 Subject: [PATCH] Bug 16728: Add MARC21 777 - Issued with entry to staff and OPAC detail pages This adds the 777 - Issued with entry to the staff and OPAC detail pages. It's built using the template for 773 with minor adjustments. To test: - Apply patch - Catalog several 777 fields in one or more of your records - When using 1st indicator = 1, the note won't display - When using 2nd indicator empty, label will be "Issued with:" - When using 2nd indicator 8, the label will be drawn from $i if present - When $w and UseControlNumber pref is used, the link will be built using $w - In all other cases the title form $t will be used for the link - Verify the display is correct Examples for 777 can be found in the LOC MARC21 documentation: http://www.loc.gov/marc/bibliographic/bd777.html Note: Because the label depends on the 2nd indicator, the label is repeated for every 777 on a record. Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- .../en/xslt/MARC21slim2intranetDetail.xsl | 48 +++++++++++++++++++ .../en/xslt/MARC21slim2OPACDetail.xsl | 48 +++++++++++++++++++ 2 files changed, 96 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index c33ad9a6b7..7a84705612 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -918,6 +918,54 @@ + + + + + + + + + + + + Issued with: + + + + + + + + + a_t + + + + + + + /cgi-bin/koha/catalogue/search.pl?q=control-number: + + + + + /cgi-bin/koha/catalogue/search.pl?q=ti,phr: + + + + + + + + + + + + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 063d669fac..bd28634469 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -970,6 +970,54 @@ + + + + + + + + + + + + Issued with: + + + + + + + + + a_t + + + + + + + /cgi-bin/koha/opac-search.pl?q=control-number: + + + + + /cgi-bin/koha/opac-search.pl?q=ti,phr: + + + + + + + + + + + + + + + -- 2.39.5