https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44341 --- Comment #1 from babar junaid <babarjunaid1122@gmail.com> --- Created attachment 212808 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212808&action=edit Bug 44341: Do not charge an expired hold the patron asked to cancel Bug 44341: Do not charge an expired hold the patron asked to cancel CancelExpiredReserves charged the expired hold fee (ExpireReservesMaxPickUpDelayCharge / expire_reserves_charge) for every waiting hold, also when the patron had placed a cancellation request that staff had not yet actioned. Cancelling the request from the staff interface charges nothing, so the fee depended only on how quickly staff got to the request. A waiting hold with a cancellation request is now cancelled without the charge. A waiting hold with no request is charged as before. Test plan: 1. Apply only the test file change and run prove t/db_dependent/Reserves/CancelExpiredReserves.t The new subtest "No expiry charge when the patron requested cancellation" fails: the patron with the request has 1 RESERVE_EXPIRED line, expected 0. 2. Apply the whole patch and run it again: it passes. 3. prove t/db_dependent/Holds/ExpireReservesAutoFill.t t/db_dependent/Koha/Hold.t still pass. Sponsored-by: Koha Solutions -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.