From 49d6de2cb53df73e8478c8322651baab1a410032 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 26 May 2023 19:00:13 +0000 Subject: [PATCH] Bug 32695: Use title (subfield t) only for 'Other editions' search links Currently the code does a title phrase search, but combines the title field with the Main Entry (author) field. This patch simply limits the search to the title to ensure links work To test: 1 - Ensure systme preference 'UseControlNumber' is set to don't 2 - Edit Default MARC framework in administration->Marc frameworks 3 - Make 775 subfields a & t visible in editor 4 - Edit a record to add a field 775 with subfields a & t that match another title/author in your system 5 - Save the record and view the details page 6 - Click the other editions link - no results 7 - Apply patch, restart_all 8 - Reload details and confirm the link works Signed-off-by: Sam Lau --- .../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 c7ac227327..0b907f30e3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1265,7 +1265,7 @@ - a_t + t diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 6493efda20..f084f76cf2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1506,7 +1506,7 @@ - a_t + t -- 2.30.2