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

--- Comment #42 from Joonas Kylmälä <[email protected]> ---
Created attachment 121679
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121679&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

Signed-off-by: Joonas Kylmälä <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to