[Koha-bugs] [Bug 8367] How long is a hold waiting for pickup at a more granular level

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 18 10:25:04 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8367

--- Comment #23 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to comment #20)
> It is a great idea even though it was not so easy :)
Yes, I see. In circulation nothing seems to be easy..
Will try to have a look at your patches again later this week.

Just a question from quickly glancing through your code. In
CancelExpiredReserves:
+        my $query = "SELECT * FROM reserves WHERE TO_DAYS( NOW() ) - TO_DAYS(
waitingdate ) > maxpickupdate AND found = 'W' AND priority = 0";
Does that work? Looks to me that it doesn't. Shouldn't you just look for
maxpickupdate < now?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list