[Koha-cvs] CVS: koha/C4 SearchMarc.pm,1.36.2.9,1.36.2.10
Joshua Ferraro
joshferraro at users.sourceforge.net
Sat May 21 05:11:06 CEST 2005
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29232
Modified Files:
Tag: rel_2_2
SearchMarc.pm
Log Message:
Fixes the bug where lost items are displyed in the initial search results
screen.
Index: SearchMarc.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/SearchMarc.pm,v
retrieving revision 1.36.2.9
retrieving revision 1.36.2.10
diff -C2 -r1.36.2.9 -r1.36.2.10
*** SearchMarc.pm 7 Apr 2005 10:06:02 -0000 1.36.2.9
--- SearchMarc.pm 21 May 2005 03:11:04 -0000 1.36.2.10
***************
*** 347,351 ****
my $oldline;
my ($oldbibid, $oldauthor, $oldtitle);
! my $sth_itemCN = $dbh->prepare("select items.* from items where biblionumber=?");
my $sth_issue = $dbh->prepare("select date_due,returndate from issues where itemnumber=?");
# parse all biblios between start & end.
--- 347,351 ----
my $oldline;
my ($oldbibid, $oldauthor, $oldtitle);
! my $sth_itemCN = $dbh->prepare("select items.* from items where biblionumber=? and (itemlost = 0 or itemlost is NULL)");
my $sth_issue = $dbh->prepare("select date_due,returndate from issues where itemnumber=?");
# parse all biblios between start & end.
More information about the Koha-cvs
mailing list