]> git.koha-community.org Git - koha.git/commit
(MT 2985) simplify CanBookBeReserved
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Fri, 5 Nov 2010 13:13:21 +0000 (09:13 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Fri, 5 Nov 2010 19:08:14 +0000 (15:08 -0400)
commita8e207df3667b957e2b4500d6ec549b5a517ec2e
tree231662900fff17c641b697a19788a8a90cdf6d3d
parent1c37b030fcc4f02e54e7b7d6765b45d7566c8a46
(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>
(cherry picked from commit 363c1ca9f9392403b98f3a3604c1345320f4a8c4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Reserves.pm