]> git.koha-community.org Git - koha.git/commit
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)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 15 Aug 2013 22:31:52 +0000 (22:31 +0000)
commit3e387f72a337b36d96e1b0df56965391ffc95213
treee8d54950c89f4a86db69c95f4fc6d73022038587
parent51b8deb4d5eceee84ad95b28cac902330b4b12fe
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>
C4/Circulation.pm