Bug 10663: restore ability of active hold requests to block renewal
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 5 Aug 2013 18:23:44 +0000 (15:23 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 16 Aug 2013 15:44:46 +0000 (12:44 -0300)
commit5a250b20e2a8d29cf0b114f7e7d9886de26d108a
tree11a3faad03a6e7696b248e113bbd706ead906296
parent7e16f58668a10365ed1a8aa862cdbfc89b400f7d
Bug 10663: restore ability of active hold requests to block renewal

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This reverts changes made to CanBookBeRenewed by
patches from bug 9367.
GetReserveStatus is not suitable to recognize if an item
can fild a hold on return and CheckReserves is restored.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This patch includes a squash of a follow-up authored by
Katrin Fischer <Katrin.Fischer.83@web.de>:

  CheckReserves returns '' when no reserve is found,
  so $resfound will always be defined and we need to
  check if it's true.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 3e387f72a337b36d96e1b0df56965391ffc95213)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Circulation.pm