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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 22 May 2020 08:33:17 +0000 (09:33 +0100)
commit10af741387a75d29c6b7782c6ce3d2c07cad9517
treeeaac78b9fc8f2520ddaceebacd95d8c5904b3242
parent70ae2eaf9cdc7708f85b1724e5bc89623355b585
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>
C4/Circulation.pm