[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 SearchMarc.pm [rel_2_2]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/C4 SearchMarc.pm [rel_2_2] |
Date: |
Wed, 28 Feb 2007 09:18:26 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Antoine Farnault <toins> 07/02/28 09:18:26
Modified files:
C4 : SearchMarc.pm
Log message:
reporting bug fix from 2.2.7.1 to 2.2.7.
LOG was :
BUGFIX/improvement : limiting MARCsubject to 610 as 676 is
dewey, and is somewhere else
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/SearchMarc.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.36.2.38&r2=1.36.2.39
Patches:
Index: SearchMarc.pm
===================================================================
RCS file: /sources/koha/koha/C4/Attic/SearchMarc.pm,v
retrieving revision 1.36.2.38
retrieving revision 1.36.2.39
diff -u -b -r1.36.2.38 -r1.36.2.39
--- SearchMarc.pm 28 Feb 2007 09:16:42 -0000 1.36.2.38
+++ SearchMarc.pm 28 Feb 2007 09:18:26 -0000 1.36.2.39
@@ -687,7 +687,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