https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44350 --- Comment #1 from Andrii Nugged <nugged@gmail.com> --- Created attachment 212865 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212865&action=edit Bug 44350: Handle a single SIP2 account sort bin rule SIP2 account configuration represents one sort bin mapping as a hash reference and several as an array reference. Treat the single rule as a list of one so a check-in can return the mapped sort bin. Keep account precedence and the first-match rule for multiple mappings. Test plan: 1. Configure a SIP2 account with exactly one sort bin mapping. Check out an item matching the rule and return it through a SIP2 client. 2. Confirm the return is recorded but the client receives no complete check-in response. 3. Apply the patch. Check the item out again and repeat the return. Verify the complete check-in response contains the expected sort bin. 4. Add another matching account rule and verify the first still wins. Remove both account rules and verify the system preference is used. 5. Run prove t/db_dependent/SIP/Transaction.t. Co-Authored-By: Loontik <loontik@nugged.team> -- You are receiving this mail because: You are watching all bug changes.