[Koha-cvs] koha/C4 SearchMarc.pm [rel_2_2]

Antoine Farnault antoine at koha-fr.org
Wed Feb 28 10:16:42 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Antoine Farnault <toins>	07/02/28 09:16:42

Modified files:
	C4             : SearchMarc.pm 

Log message:
	reporting bug fix from 2.2.7.1 to 2.2.7.
	LOG was :
		BUGFIX (minor) : removing $3 from automatic subject building (subfield used by UNIMARC)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/SearchMarc.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.36.2.37&r2=1.36.2.38

Patches:
Index: SearchMarc.pm
===================================================================
RCS file: /sources/koha/koha/C4/Attic/SearchMarc.pm,v
retrieving revision 1.36.2.37
retrieving revision 1.36.2.38
diff -u -b -r1.36.2.37 -r1.36.2.38
--- SearchMarc.pm	27 Feb 2007 17:24:39 -0000	1.36.2.37
+++ SearchMarc.pm	28 Feb 2007 09:16:42 -0000	1.36.2.38
@@ -689,7 +689,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





More information about the Koha-cvs mailing list