From a9ea1232d703e66c3347715b383cae542eaba9dc 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. https://bugs.koha-community.org/show_bug.cgi?id=15780 --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 48 ++++++++++++++++++++++ .../bootstrap/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 16f727a0e1..3b52773766 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 f507ea428e..54ad287a39 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.11.0