From ad9bbb51a524fa0e8f8e9abea5465963fc58deae Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 14 Jul 2014 12:49:27 -0400 Subject: [PATCH] [SIGNED OFF] Bug 12574 - BiblioDefaultView doesn't affect XSLT results view 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. Signed-off-by: Nick Clemens --- .../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 362cddb..f40e917 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.10.4