https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44138
--- Comment #1 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 211894 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211894&action=edit Bug 44138: Queue a transfer when an item of a rotating collection is checked in away from it When a collection is transferred to a library, TransferCollection queues a transfer for each of its items, except those that are checked out. The check-in page did nothing for them, and the legacy page only displayed "Please transfer item to: X" for them, without recording anything. Items added to the collection afterwards were not sent either, and only the staff check-in page ever said anything. AddReturn now queues a transfer with the reason RotatingCollection when an item of a rotating collection is checked in at a library other than the one the collection is at, and the item has no transfer yet. It is handled as any queued transfer is, as stock rotation transfers are: the check-in page, SIP and the transfer history all know about it. Nothing is queued when the item is checked in where the collection is, when it is needed for a hold or a recall, or when the transfer limits forbid it. To test: 1. Check out item 3999900000002 to patron '23529000591678' 2. In Tools > Rotating collections, create a collection, add item 3999900000002 to it, then transfer the collection to Midway 3. Check the item in at Circulation > Check in 4. The dialog asks to send the item to Midway, and gives 'Rotating collection' as the reason for the transfer 5. Confirm it: the item is in transit to Midway, and Circulation > Item transfer history shows the reason 6. Add another item to the collection and check it in at Centerville: it is queued for Midway too 7. Check an item of the collection in at Midway: no transfer 8. Run the tests: prove t/db_dependent/Circulation.t t/cypress/integration/Circulation/Checkin_spec.ts Co-Authored-By: Claude Sonnet 5.5 <[email protected]> -- 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/
