From fb55379e080949ba463bfdd1f6bd36ddeff4519f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 14 Jul 2014 12:49:27 -0400 Subject: [PATCH] Bug 12574 - BiblioDefaultView doesn't affect XSLT results view Content-Type: text/plain; charset="utf-8" The OPAC's XSLT results view does not respect the choice set in the BiblioDefaultView system preference. This patch adds a check of the preference to the OPAC's results view for MARC21. To test you must have the OPAC configured to use the XSLT view for search results. Perform any search and test the link to a title's detail page. Switching the values of the BiblioDefaultView should be correctly reflected in the search results links. --- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index ea6af38..9d64c6a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -30,6 +30,7 @@ + @@ -402,7 +403,22 @@ - /cgi-bin/koha/opac-detail.pl?biblionumber=title + + + + /cgi-bin/koha/opac-detail.pl?biblionumber= + + + /cgi-bin/koha/opac-ISBDdetail.pl?biblionumber= + + + /cgi-bin/koha/opac-MARCdetail.pl?biblionumber= + + + /cgi-bin/koha/opac-detail.pl?biblionumber= + + + title -- 1.7.9.5