https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37199

--- Comment #1 from Slava Shishkin <[email protected]> ---
Created attachment 168154
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168154&action=edit
Bug 37199: Incorrect "waiting holds" notification for staff

- Modified `circ/circulation.pl` to ensure the `waiting_holds` search results
are correctly processed using `as_list`. Previously, the search results were
passed as an object, which always evaluated to true. By converting the search
results to a list, we ensure proper handling and checking of waiting holds.

Test Plan:
1. Apply the patch.
2. Set the system preference "WaitingNotifyAtCheckout" to "Notify".
3. Place a hold on one of the available items for a patron (A).
4. Check out another available item from the same bibliographic record to a
patron (B).
5. Verify that staff do not receive the incorrect notification when checking
out items to patron (B).
6. Ensure the functionality works as expected when checking out items to patron
(A).

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to