From a77d4d14c8bd55eee4a0cde8219558068958d2e8 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 14 Jul 2011 10:06:07 +0200 Subject: [PATCH] [SIGNED-OFF] 5662: Show control number without organization code in OPAC URLs Content-Type: text/plain; charset="utf-8" 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. --- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 8 ++++---- 1 files 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 1e0855f..d4f763f 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: -- 1.7.4.1