[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 SearchMarc.pm [R_2-2-7-1]
From: |
paul poulain |
Subject: |
[Koha-cvs] koha/C4 SearchMarc.pm [R_2-2-7-1] |
Date: |
Tue, 27 Feb 2007 21:17:19 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: R_2-2-7-1
Changes by: paul poulain <tipaul> 07/02/27 21:17:19
Modified files:
C4 : SearchMarc.pm
Log message:
BUGFIX (minor) : removing $3 from automatic subject building (subfield
used by UNIMARC)
bug probably exist also in 2.2 and in rel_3_0
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/SearchMarc.pm?cvsroot=koha&only_with_tag=R_2-2-7-1&r1=1.36.2.35.2.1&r2=1.36.2.35.2.2
Patches:
Index: SearchMarc.pm
===================================================================
RCS file: /sources/koha/koha/C4/Attic/SearchMarc.pm,v
retrieving revision 1.36.2.35.2.1
retrieving revision 1.36.2.35.2.2
diff -u -b -r1.36.2.35.2.1 -r1.36.2.35.2.2
--- SearchMarc.pm 12 Feb 2007 10:39:12 -0000 1.36.2.35.2.1
+++ SearchMarc.pm 27 Feb 2007 21:17:19 -0000 1.36.2.35.2.2
@@ -661,7 +661,7 @@
$mintag = "600";
$maxtag = "699";
}
- my $sth=$dbh->prepare("SELECT
`subfieldvalue`,`subfieldcode`,`tagorder`,`tag` FROM `marc_subfield_table`
WHERE `bibid`= ? AND `subfieldcode` NOT IN ('2','4','6','8') AND `tag` BETWEEN
? AND ? ORDER BY `tagorder`,`subfieldorder`");
+ my $sth=$dbh->prepare("SELECT
`subfieldvalue`,`subfieldcode`,`tagorder`,`tag` FROM `marc_subfield_table`
WHERE `bibid`= ? AND `subfieldcode` NOT IN ('2','3','4','6','8') AND `tag`
BETWEEN ? AND ? ORDER BY `tagorder`,`subfieldorder`");
# Subfield exclusion for $2, $4, $6, $8 protects against searching for
# variant data in otherwise invariant authorised subject headings when
all
# returned subfields are used to form a query for matching subjects.
One