https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43876 --- Comment #15 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Adolfo Rodríguez Taboada from comment #9)
Thanks Katrin, that's a good point: the items whose receipt is cancelled never were part of the collection, so they should not be counted as weeded items.
Koha::Item->delete does not copy the item to deleteditems by itself (that is done by a separate move_to_deleted call), so I've added a follow-up that just removes that call. The items are deleted as before and the rest of the fix is kept: the record is reindexed, the deletion is logged, the plugin hooks are called, the holds queue is updated and an empty item group is deleted.
The follow-up needs a signoff, so I'm setting the bug back to Needs Signoff.
Thanks Adolfo, that sounds like the perfect solution :) -- You are receiving this mail because: You are watching all bug changes.