Bug 24446: (QA follow-up) Use 'receive' method in ModReserveAffect
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 18 Feb 2021 14:45:38 +0000 (14:45 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Mar 2021 14:36:13 +0000 (15:36 +0100)
commite1b92345cdb30a055f1788c57447451ddf8f40a9
treea6feaca8d1fb7c8a65415cdf2a5f012fcc91d566
parentfdaac5394cc77d43da2f7fd9c34a4c854b5ed898
Bug 24446: (QA follow-up) Use 'receive' method in ModReserveAffect

ModeReserveAffect was setting all transfers in the queue to received by
looping through a resultset. This patch updates the logic to try and
catch the in_transit transfer and receive just that one instead.

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