[Koha-bugs] [Bug 4319] waiting items cannot be reserved

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 9 22:00:13 CEST 2010


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|PATCH-Sent                  |P5
             Status|ASSIGNED                    |NEW
           Platform|PC                          |All
            Version|unspecified                 |HEAD
         AssignedTo|nahuel.angelinetti at biblibre |kyle.m.hall at gmail.com
                   |.com                        |

--- Comment #2 from Owen Leonard <oleonard at myacpl.org>  ---
Starting at line 1609 of Search.pm I see this:

        # item is withdrawn, lost or damaged
        if (   $item->{wthdrawn}
            || $item->{itemlost}
            || $item->{damaged}
            || $item->{notforloan}
    || $reservestatus eq 'Waiting'
            || ($transfertwhen ne ''))
        {

Why is "$reservestatus eq 'Waiting'" grouped with these statuses which block
holds? For that matter, it looks like items which are in transit are dealt with
in the same section. Why should holds on these items be blocked?

I wonder also if part of the problem is that we're trying to add up the
"Available" count at the same time we're trying to decide if something can be
put on hold. A waiting hold isn't available, but it can be put on hold.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list