From b46d14c52c78fd813f205b3b090091f8148909ea Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 26 Feb 2012 22:25:41 +0100 Subject: [PATCH] Bug 7609: Improving links to find analytics and volumes when using UseControlnumber (MARC21) To test: - switch on UseControlnumber - add a serial record with 001 - ldr pos 19 = a or - 008 (continuing resource), pos 21 = m - add 2 analytics with with $w subfields containing the 001 of the serial - one with ldr pos 7 = a - one with ldr pos 7 = b - add 1-2 monographical records linked to the serial - 8xx $w subfield containing the 001 of the serial - 490 The serial should show 2 links (in both OPAC and Intranet): 'Show volumes' should only bring up the monographical records. 'Show analytics' should only find the analytical records. Without the patch both links would find all linked records, no difference between both links. Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain Signed-off-by: Jared Camins-Esakov --- .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 4 ++-- koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 426fa11ed2..42052b6208 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -225,7 +225,7 @@ - /cgi-bin/koha/catalogue/search.pl?q=rcn: + /cgi-bin/koha/catalogue/search.pl?q=rcn:+and+(bib-level:a+or+bib-level:b) /cgi-bin/koha/catalogue/search.pl?q=Host-item: @@ -242,7 +242,7 @@ - /cgi-bin/koha/catalogue/search.pl?q=rcn: + /cgi-bin/koha/catalogue/search.pl?q=rcn:+not+(bib-level:a+or+bib-level:b) /cgi-bin/koha/catalogue/search.pl?q=ti,phr: diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index be2b4fdcbc..1d8bc6955b 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -279,7 +279,7 @@ - /cgi-bin/koha/opac-search.pl?q=rcn: + /cgi-bin/koha/opac-search.pl?q=rcn:+and+(bib-level:a+or+bib-level:b) /cgi-bin/koha/opac-search.pl?q=Host-item: @@ -296,7 +296,7 @@ - /cgi-bin/koha/opac-search.pl?q=rcn: + /cgi-bin/koha/opac-search.pl?q=rcn:+not+(bib-level:a+or+bib-level:b) /cgi-bin/koha/opac-search.pl?q=ti,phr: -- 2.39.5