From 4710fae55b0d98a7b84eeb4e41020e8e579c8023 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 14 Jul 2011 10:06:07 +0200 Subject: [PATCH] 5662: Show control number without organization code in OPAC URLs OPAC detail xsl adjusted at four places: 773 when leader19=c, 775, 780, 785. Enable the pref UseControlNumber when testing this patch. And set pref OPACXSLTDetailsDisplay to using XSLT stylesheets. Test by adding a control number ($w) in abovementioned fields. Go to opac detail and check if the links work. Add some orgcode between parentheses or brackets in front of the control number. Test again in opac detail if the links still work. Signed-off-by: Katrin Fischer Works with and without orgCode in front of $w now. No change to current behaviour, but closer to MARC21 standard. Signed-off-by: Chris Cormack --- .../opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index 1e0855f9aa..d4f763f8b2 100755 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -314,7 +314,7 @@ - /cgi-bin/koha/opac-search.pl?q=Control-number: + /cgi-bin/koha/opac-search.pl?q=Control-number: /cgi-bin/koha/opac-search.pl?q=Title: @@ -735,7 +735,7 @@ - /cgi-bin/koha/opac-search.pl?q=Control-number: + /cgi-bin/koha/opac-search.pl?q=Control-number: /cgi-bin/koha/opac-search.pl?q=Title: @@ -791,7 +791,7 @@ - + /cgi-bin/koha/opac-search.pl?q=Control-number: @@ -854,7 +854,7 @@ - + /cgi-bin/koha/opac-search.pl?q=Control-number: -- 2.39.5