From ee0abde76e78713233a9fcd31fbb6f80b5a9610c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 1 Mar 2016 12:13:22 +0000 Subject: [PATCH] Bug 14441: TrackClicks cuts off/breaks URLs (XSLT) Same test plan as previous patch, but for opac defail and result using the XSLT views. Signed-off-by: Katrin Fischer I am amazed! Signed-off-by: Brendan A Gallagher --- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 5 +++-- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 9 +++++---- .../bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl | 5 +++-- .../bootstrap/en/xslt/NORMARCslim2OPACResults.xsl | 5 +++-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 4cec982e9a..20833ce0b7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -6,6 +6,7 @@ xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:items="http://www.koha-community.org/items" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" exclude-result-prefixes="marc items"> @@ -828,10 +829,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 383ccb3afc..01e3c1c058 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -5,6 +5,7 @@ xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:items="http://www.koha-community.org/items" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" exclude-result-prefixes="marc items"> @@ -1020,10 +1021,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= @@ -1055,10 +1056,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl index 4d1785b919..1f1e26c8dd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl @@ -7,6 +7,7 @@ xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:items="http://www.koha-community.org/items" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" exclude-result-prefixes="marc items"> @@ -488,10 +489,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl index 163b3aa168..3cdcd0e4a1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl @@ -7,6 +7,7 @@ xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:items="http://www.koha-community.org/items" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" exclude-result-prefixes="marc items"> @@ -793,10 +794,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= -- 2.39.5