[Koha-cvs] CVS: koha/C4 Search.pm,1.18.2.7,1.18.2.8
Chris Cormack
rangi at users.sourceforge.net
Thu Aug 15 04:05:01 CEST 2002
Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv7951/C4
Modified Files:
Tag: rel-1-2
Search.pm
Log Message:
Fix for itemissues, fetching the right dates for last borrowers for use on
the moredetail.pl page
Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.18.2.7
retrieving revision 1.18.2.8
diff -C2 -r1.18.2.7 -r1.18.2.8
*** Search.pm 14 Aug 2002 18:30:50 -0000 1.18.2.7
--- Search.pm 15 Aug 2002 02:04:59 -0000 1.18.2.8
***************
*** 1120,1124 ****
where itemnumber = '$data->{'itemnumber'}'
and issues.borrowernumber = borrowers.borrowernumber
! order by date_due desc";
$sth2 = $dbh->prepare($query2)
|| die $dbh->errstr;
--- 1120,1125 ----
where itemnumber = '$data->{'itemnumber'}'
and issues.borrowernumber = borrowers.borrowernumber
! and returndate is not NULL
! order by returndate desc, timestamp desc";
$sth2 = $dbh->prepare($query2)
|| die $dbh->errstr;
More information about the Koha-cvs
mailing list