https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21754
Andreas Hedström Mace <andreas.hedstrom.m...@sub.su.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81854|0 |1 is obsolete| | --- Comment #4 from Andreas Hedström Mace <andreas.hedstrom.m...@sub.su.se> --- Created attachment 82016 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82016&action=edit Bug 21754: Automatically clean up outstanding transfers on lost items This is an alternative to bug 21732 as transfers are automatically cancelled on marking an item lost, and the items holding rbanch is set to the transfers source ('from') branch. When an item is marked as lost, the routine should also clean up any outstanding transfers. Also added tests to t/db_dependent/Circulation.t which check: * If transfer is automatically deleted when item is marked as lost * If the items holdingbranch automatically changes when item with transfers on it is marked as lost. Test plan: 1. Find a item which is in transfer, i.e. find an item with the text in the 'Status' field of the table in detail.pl that indicates it is in transfer 2. Set the item to 'Lost' either by clicking on Edit->Edit items from the detail.pl page OR clicking on the Items tab on the left side of the detail.pl page 3. Notice that the transfer is now cancelled for the item and the items holdingbranch is the transfers source ('from') branch 4. Run t/db_dependent/Circulation.t Sponsored-By: Brimbank Library, Australia Signed-off-by: Andreas Hedström Mace <andreas.hedstrom.m...@sub.su.se> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/