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
This commit is contained in:
tipaul 2007-02-27 21:18:22 +00:00
parent 877d61a952
commit 661f86929d
1 changed files with 1 additions and 1 deletions

View File

@ -659,7 +659,7 @@ sub getMARCsubjects {
$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