[Koha-cvs] koha/C4 SearchMarc.pm [R_2-2-7-1]

paul poulain paul at koha-fr.org
Tue Feb 27 22:18:22 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		R_2-2-7-1
Changes by:	paul poulain <tipaul>	07/02/27 21:18:22

Modified files:
	C4             : SearchMarc.pm 

Log message:
	BUGFIX/improvement : limiting MARCsubject to 610 as 676 is dewey, and is somewhere else
	
	Problem exist in 2.2 as well as in rel_3_0 probably

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.2&r2=1.36.2.35.2.3

Patches:
Index: SearchMarc.pm
===================================================================
RCS file: /sources/koha/koha/C4/Attic/SearchMarc.pm,v
retrieving revision 1.36.2.35.2.2
retrieving revision 1.36.2.35.2.3
diff -u -b -r1.36.2.35.2.2 -r1.36.2.35.2.3
--- SearchMarc.pm	27 Feb 2007 21:17:19 -0000	1.36.2.35.2.2
+++ SearchMarc.pm	27 Feb 2007 21:18:22 -0000	1.36.2.35.2.3
@@ -659,7 +659,7 @@
 		$maxtag = "699";
 	} else {           # assume unimarc if not marc21
 		$mintag = "600";
-		$maxtag = "699";
+		$maxtag = "611";
 	}
 	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





More information about the Koha-cvs mailing list