From c5efa3bcbe88e69b5d6acdd2cebfba4ef068af40 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 14 Jul 2014 13:07:42 -0400 Subject: [PATCH] [SIGNED.OFF] Bug 10571 - IntranetBiblioDefaultView doesn't do anything with MARC21 XSLT The staff client's XSLT results view does not respect the choice set in the IntranetBiblioDefaultView system preference. This patch adds a check of the preference to the staff client's results view for MARC21. To test you must have the staff client configured to use the XSLT view for search results. Perform any search and test the link to a title's detail page. Switching the value of the IntranetBiblioDefaultView preference should be correctly reflected in the search results links. Signed-off-by: Bernardo Gonzalez Kriegel Work as described, no koha-qa errors. Only for MARC21 :( --- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 21 +++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index f3a1761..756d01d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -27,6 +27,7 @@ + @@ -289,7 +290,25 @@ - /cgi-bin/koha/catalogue/detail.pl?biblionumber=title + + + + /cgi-bin/koha/catalogue/detail.pl?biblionumber= + + + /cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber= + + + /cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber= + + + /cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber= + + + /cgi-bin/koha/catalogue/detail.pl?biblionumber= + + + title -- 1.7.9.5