https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19814
--- Comment #94 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 203249 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203249&action=edit Bug 19814: (follow-up) Repair WrongTransfer rows during batch checkin When AddReturn flags a WrongTransfer (item arrived at an unexpected branch en route to its real destination) the single-item post-processing block replaces the existing transfer with a new one tagged replace => 'WrongTransfer' so the audit trail records the correction. The batch loop ran AddReturn but never performed this repair, so batch-scanned items that hit a WrongTransfer left the DB state stale. Extract the repair into repair_wrong_transfer() and call it from both the single-item block and process_batch_checkin_item. Test plan: 1. Set up a transfer where item X should go from library A -> B. 2. Scan item X at library C (single-item) -> new transfer row replaces the old one with reason WrongTransfer. 3. Scan item X at library C in batch mode -> same new transfer row is created (verify in branchtransfers table). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
