From a8160a651d68bfba4dae558d93374ad3672cd061 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. --- .../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