bug 2252 - check correct items for item-specific holds
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 17 Jun 2008 15:12:25 +0000 (10:12 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 17 Jun 2008 18:09:41 +0000 (13:09 -0500)
commitce1fbe07853720f3de43fa6fd5336575db6f575f
tree38c735f0e39aad492b9d48a76133c7226c0655e5
parent6c9eeabc712f76fe4275b3727494394e487aaf80
bug 2252 - check correct items for item-specific holds

C4::Reserves::_Findgroupreserves(), instead of
getting all requests for a bib, now gets only the
requests that are title-level (itemnumber is null)
or for that specific item.  This prevents an item
from filling an item-level hold for a different item
attached to the same bib, which is the expected
behavior for item-level holds.

[LL Bug 22]

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Reserves.pm