[Koha-bugs] [Bug 27064] Transferring an item with a hold allows the user to set a hold waiting without transferring to the correct branch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 7 15:31:17 CEST 2021


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #36 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 121673
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121673&action=edit
Bug 27064: (QA follow-up) Pass 'replace' through to
Koha::Item::Transfer->cancel

The `replace` option found in Koha::Item->request_transfer should be
passed through to Koha::Item::Transfer->cancel and prevent any reverse
transfers from being queued in such cases.

This prevents modItemTransfer from adding superflous reverse transfers
whenever it is used.

Test plan
1/ Run t/db_dependent/Koha/Item.t to prove the new tests pass

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


More information about the Koha-bugs mailing list