]> git.koha-community.org Git - koha.git/commit
Bug 24446: (QA follow-up) Correction to datecancelled for ModItemTransfer
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 22 Jan 2021 11:11:53 +0000 (11:11 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Mar 2021 14:36:13 +0000 (15:36 +0100)
commit1bfccf58648537540ba39d207dcc6909dcf244d8
tree723591ab5900c848336c397decf21572a5fcb102
parent25d1d22082dd620ca785913554246bada3ba5892
Bug 24446: (QA follow-up) Correction to datecancelled for ModItemTransfer

ModItemTransfer always replaces any existing transfers, including those
in transit.. so we needed to add a 'force' option to
Koha::Item::Transfer->cancel();

Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Item.pm
Koha/Item/Transfer.pm
t/db_dependent/Circulation/transfers.t
t/db_dependent/Koha/Item/Transfer.t