From 396dff1237180ab315d0e202be8fac6ce247cd3b 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 --- .../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 0b21ec2e71..79a7fd3eed 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 042d01fc94..d2d5894b40 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.20.1