From 115a3e6b60cab0e5000483575ca69736bb40ee2c Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 18 Sep 2013 15:24:08 -0400 Subject: [PATCH] Bug 10911: fix invalid links when displaying records that have 880 fields Koha intranet search results using XSLT for records with 880 fields have the details link created by a code path that incorrectly links to some opac pages. Test Plan: 1) Enable XSLT for intranet search results 2) Upload or create a record with at least one 880 field 3) Search for the item ( must have multiple hits to avoid redirection ) 4) Click the title link, note it is broken 5) Apply this patch 6) Click the title link, note it is correct Signed-off-by: Bernardo Gonzalez Kriegel Comment: Work as described, no koha-qa errors. Test 1) imported two times sample record 2) reindex 3) search, find example record, broken links 4) applied patch 5) refresh, good links NOTE: A similar (invalid references) problem is present on UNIMARC and NORMAC files I'll file a new bug for those cases. Signed-off-by: Katrin Fischer Works nicely, tested with a different set of sample records with Hebrew 880 fields. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index 151fc7b80f..7334d03846 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -164,19 +164,19 @@ - /cgi-bin/koha/opac-detail.pl?biblionumber= + /cgi-bin/koha/catalogue/detail.pl?biblionumber= - /cgi-bin/koha/opac-search.pl?q=an: + /cgi-bin/koha/catalogue/search.pl?q=an: - /cgi-bin/koha/opac-search.pl?q=: + /cgi-bin/koha/catalogue/search.pl?q=: -- 2.39.2