From 2c8f6118a15e504d9865ef8dd5833e1293890eef Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 3 Aug 2018 15:13:57 +0000 Subject: [PATCH] Bug 13692: series link is taking you to just 800a instead of whole 800 This patch modifies the OPAC and staff client's XSL template for the detail page so that series links based on a traced 490 tag use both author and series title from the 800 tag. To test you should have multiple titles in the same series with matching 490 and 800 tags in each record. Apply the patch and restart Plack if necessary. View the detail page for one of the series' titles. The "Series:" link should link to a search which uses both series title and author. Clicking the link should return the correct results. Test both the OPAC and staff client. --- koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 885a8dc..5aa3dee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -232,7 +232,7 @@ - /cgi-bin/koha/catalogue/search.pl?q=se,phr:"" + /cgi-bin/koha/catalogue/search.pl?q=se,phr:""&q=au:"" diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index f31b1be..f3a60f6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -249,7 +249,7 @@ - /cgi-bin/koha/opac-search.pl?q=se,phr:"" + /cgi-bin/koha/opac-search.pl?q=se,phr:""&q=au:"" -- 2.1.4