From 61caef21d0f615f14ed8c056d2abf8c9da48b332 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 1 Dec 2011 19:35:43 -0500 Subject: [PATCH] Bug 5369: Make series tracings use phrase indexes Content-Type: text/plain; charset="UTF-8" By definition, series tracings should search for other records in the same series, i.e., those with the exact same series title. This patch forces the tracings to use phrase indexes for series tracings. Note that this patch DOES NOT respect TraceCompleteSubfields. While that may be desirable, it is outside the scope of the current patch. An additional follow-up patch could be written to add support for TraceCompleteSubfields, if community concensus is that series tracings should obey TraceCompleteSubfields. --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 6 +++--- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index b84db99..f29e610 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -152,7 +152,7 @@ Series: - /cgi-bin/koha/catalogue/search.pl?q=se:" + /cgi-bin/koha/catalogue/search.pl?q=se,phr:" @@ -167,7 +167,7 @@ - /cgi-bin/koha/catalogue/search.pl?q=se:" + /cgi-bin/koha/catalogue/search.pl?q=se,phr:" @@ -195,7 +195,7 @@ - /cgi-bin/koha/catalogue/search.pl?q=se:"" + /cgi-bin/koha/catalogue/search.pl?q=se,phr:"" diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index 3fdcb19..49fbf12 100755 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -210,7 +210,7 @@ Series: - /cgi-bin/koha/opac-search.pl?q=se:" + /cgi-bin/koha/opac-search.pl?q=se,phr:" @@ -225,7 +225,7 @@ - /cgi-bin/koha/opac-search.pl?q=se:" + /cgi-bin/koha/opac-search.pl?q=se,phr:" @@ -253,7 +253,7 @@ - /cgi-bin/koha/opac-search.pl?q=se:"" + /cgi-bin/koha/opac-search.pl?q=se,phr:"" -- 1.7.2.5