https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40866
--- Comment #1 from Paul Derscheid <[email protected]> --- Created attachment 186985 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186985&action=edit Bug 40866: Fix incorrect display of override message on normal checkouts - The message "No patron matched Restriction overridden temporarily" was appearing on every checkout, even when no restriction override occurred. - This was caused by the message being set unconditionally after AddIssue in circ/circulation.pl. - The fix moves the message assignment inside the if ($issueconfirmed) block, ensuring it only displays when an override is actually confirmed. To test: 1. Check out an item to a patron normally. 2. "Restriction overridden temporarily" message appears. 3. Apply patches 4. Repeat 1. 5. Verify that no "Restriction overridden temporarily" message appears. 6. Check out an item that requires an override (e.g., not for loan item with AllowNotForLoanOverride enabled). 7. Confirm the override in the UI. 8. Verify that the "Restriction overridden temporarily" message now appears. 9. Sign-off -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
