]> git.koha-community.org Git - koha.git/commit
Bug 24413: Do not remove the restrictions from AddReturn
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 Feb 2020 11:37:44 +0000 (12:37 +0100)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 11 Jun 2020 22:01:36 +0000 (22:01 +0000)
commitb50c446f46c2ce987498baeed19c0af07a61fd42
treef1016a66377cd0ba6a5b7fc6c634b2b401a2cec6
parent28664aea0ae023ffd9fb57ff130138662e591b1d
Bug 24413: Do not remove the restrictions from AddReturn

As we are now removing them from MarkIssueReturned they should not be
removed from AddReturn as well.
Also I think this will fix a regression, if $doreturn is not set (in
case the item is withdrawn and BlockReturnOfWithdrawnItems or the item
is lost and BlockReturnOfLostItems, and other specific cases).

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 10af741387a75d29c6b7782c6ce3d2c07cad9517)
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
C4/Circulation.pm