From 4f7d98d59185d3adfd255c53b5532e4aead2443f Mon Sep 17 00:00:00 2001 From: Grace McKenzie Date: Wed, 18 Jan 2017 22:55:48 +0000 Subject: [PATCH] Bug 17853: Don't remove () from 780 link text To test: - Catalogue a record with 780, Indicators 00 and $a some text including parentheses. 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: Felix Hemme Signed-off-by: Nick Clemens Signed-off-by: Josef Moravec Signed-off-by: Katrin Fischer Signed-off-by: David Nind 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 Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 7560c4581331a6a09f023df38cf04e4e8b4d5b2c) Signed-off-by: Lucas Gass --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 8 ++++---- .../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 7aff0f1ed3..634edc5022 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1229,12 +1229,12 @@ /cgi-bin/koha/catalogue/search.pl?q=Control-number: - + /cgi-bin/koha/catalogue/search.pl?q=ti,phr: - + @@ -1291,12 +1291,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 9b64ec3445..b9f7101e6f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1359,12 +1359,12 @@ /cgi-bin/koha/opac-search.pl?q=Control-number: - + /cgi-bin/koha/opac-search.pl?q=ti,phr: - + @@ -1422,12 +1422,12 @@ /cgi-bin/koha/opac-search.pl?q=Control-number: - + /cgi-bin/koha/opac-search.pl?q=ti,phr: - + -- 2.20.1