[Koha-bugs] [Bug 28294] C4::Circulation::updateWrongTransfer should be moved into Koha::

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 18 01:25:25 CEST 2021


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

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

--- Comment #7 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 121078
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121078&action=edit
Bug 28294: 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 allows us to replace updateWrongTransfer entirely with
Koha::Item->request_transfer with the 'replace' parameter enabled.

Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

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


More information about the Koha-bugs mailing list