From ac29aaa77ea9f6da1a613883f100bcde9a0915cf Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Fri, 4 Mar 2022 22:47:11 +0100 Subject: [PATCH] Bug 30231: (bug 5927 follow-up) See (rejected) forms of series entry visible in search result (OPAC and intra) When using zebra with IncludeSeeFromInSearches on, with traced series, the rejected forms (4XX) of series entries are visible in result lists, both in OPAC and intra interfaces. Test plan: ========= 1. Have a MARC 21 installation with zebra, and with IncludeSeeFromInSearches on. Have an authority records for series (130, or 100/110/111 with title) with rejected forms (4XX fields). So the auth record should contain at least: 130 _0 $a Series title 430 _0 $a Some other title under which the series in known Use (each) authority record in at least two biblio records (in appropriate fields, i.e. 800/810/811/830 or even deprecated 440, if it makes use of UNIF_TITLE). Don't forget to properly input also 490 (for 8XX). So the biblio record shold contain at least: 245 nn $a Work title. 490 1_ $a Series title 830 _0 $a Series entry $9 Reindex. 2. Perform a simple biblio search (in OPAC and in intra) with the title from auth record. 3. You shold get a list of results. See the Series information--you shold see not only the accepted entry from 1XX in auth but also the rejected forms from 4XX. 4. Apply the patch. 5. Repeat 3. You shold see only the entry form of series now. Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 6 +++--- koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index dfc9cc0186..6e8ed31529 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -411,7 +411,7 @@ Series: - + ?q=se,phr:"" @@ -461,7 +461,7 @@ - + ?q=rcn: @@ -503,7 +503,7 @@ | - + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index 105da508c7..156e99d657 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -375,7 +375,7 @@ Series: - + ?q=se,phr:"" @@ -425,7 +425,7 @@ - + ?q=rcn: @@ -467,7 +467,7 @@ | - + -- 2.30.2