(MT 2985) simplify CanBookBeReserved
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Fri, 5 Nov 2010 13:13:21 +0000 (09:13 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 5 Nov 2010 18:14:13 +0000 (07:14 +1300)
commit363c1ca9f9392403b98f3a3604c1345320f4a8c4
tree84017da845c5a78fb85c62ca152548dbfd162bdd
parentb2fa851ccaca0d61d5de6c35752d368f540fb02e
(MT 2985) simplify CanBookBeReserved

The function was too complex for so simple stuff, not we check if one of all items of the record can be issued.

[Note by Galen Charlton: not only does this patch simplify the routine,
 it also makes it behave correctly.]

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Reserves.pm