From 48ba0c4abcf769a2b5899682769c0c52e3a976f1 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 12 Apr 2020 22:34:21 +0000 Subject: [PATCH] Bug 17853: Don't remove () from 785 link text and restore link value of 780 The only thing we change for 780 and 785 is, that if the display text contains (), they are no longer removed. To test: - Catalogue a record with 785$a some text (including) parenthesis e.g. Hospitals (Chicago, Ill. : 1936) - Verify that the () are not shown in the link text and are not part of the URL. - Apply patch - Verify that the () are shown in the link text and are not part of the URL. Signed-off-by: Katrin Fischer Signed-off-by: David Nind --- .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 8 ++++---- koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 242b544929..0c226dff35 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1228,12 +1228,12 @@ /cgi-bin/koha/catalogue/search.pl?q=Control-number: - + /cgi-bin/koha/catalogue/search.pl?q=ti,phr: - + @@ -1290,12 +1290,12 @@ /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 dc072e8857..22ab24d505 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1340,12 +1340,12 @@ /cgi-bin/koha/opac-search.pl?q=Control-number: - + /cgi-bin/koha/opac-search.pl?q=ti,phr: - + @@ -1403,12 +1403,12 @@ /cgi-bin/koha/opac-search.pl?q=Control-number: - + /cgi-bin/koha/opac-search.pl?q=ti,phr: - + -- 2.11.0