]> git.koha-community.org Git - koha.git/commit
Bug 26108: (bug 25855 follow-up) Call after_circ_action hook only if issue exists
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 31 Jul 2020 07:49:06 +0000 (09:49 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 31 Jul 2020 07:49:06 +0000 (09:49 +0200)
commitd5d221160184120140950112ef8edfb0ea476949
tree88e0be6963f8cf394c7df0dd20a4434d5aca37fa
parent3ae472ba5d9b7bfe6c6e44320ca020c9cf111b01
Bug 26108: (bug 25855 follow-up) Call after_circ_action hook only if issue exists

AddReturn can be called on an item even if it's not checked out (to
trigger holds for instance).
The hook should (?) not be called in that situation

Test plan:
Confirm the above and that the following tests are now passing:
 t/db_dependent/SIP/Message.t
 t/db_dependent/Reserves.t
 t/db_dependent/Circulation/issue.t
 t/db_dependent/SIP/Transaction.t
 t/db_dependent/Circulation.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm