[Koha-bugs] [Bug 12287] Hold priority for new hold incorrect if record has holds in transit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 18 15:33:32 CEST 2014


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

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
I don't think so. That could cause future regressions if new found statuses are
added. For example, there used to be a found status of 'F' for 'Finished' (
from before the existence of the old_reserves table iirc ). We never want to
include any type of found hold when calculating a new hold's priority, set
there is no need to list everything as a special case.

(In reply to Jonathan Druart from comment #4)
> Don't you think it's safer to test the 'T' value?
> Something like
> 
>     if ( defined $res->{found}
>         and ( $res->{found} eq 'W' or $res->{found} eq 'T' ) ) 
>     {   
>         $count--;
>     }

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


More information about the Koha-bugs mailing list