https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43500
--- Comment #3 from ChloƩ Zermatten <[email protected]> --- Created attachment 206648 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206648&action=edit Bug 43500: fix: has_restricting_overdues emits warning The warning emitted by has_restricting_overdues would cause the lift_overdue_restrictions test to fail. Since the method uses order_by, next can't properly collapse rows to their parent overdue while iterating: the sequentiality that allowed that is broken, causing the warning (but no bug). Use as_list instead - this does not change behaviour but renders it explicit. Test plan: 1) run prove -t t/db_dependent/Koha/Patron.t 2) confirm no warning emitted causing test failures for lift_overdue_restrictions Assisted-by: Claude Opus 5 (Anthropic) Sponsored-by: Black Hills Library Consortium- http://www.rcgov.org/Library/ -- 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/
