[Koha-bugs] [Bug 19945] ILSDI - Return the reason a reserve is impossible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 9 15:55:33 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79047|0                           |1
        is obsolete|                            |

--- Comment #21 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 83746
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83746&action=edit
Bug 19945: (follow-up) optimization and test correction

The double call to CanItemBeReserved was pointless in
the C4/Reserves.pm HoldItem, as CanBookBeReserved calls
CanItemBeReserved and even returns that code.

Additionally, the tests failed, because there were 5
tests not 4.

TEST PLAN
----------
prove t/db_dependent/ILSDI_Services.t
run koha qa test tools

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list