[Koha-bugs] [Bug 29483] AllowRenewalIfOtherItemsAvailable has poor performance for records with many items
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 19 17:19:38 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29483
--- Comment #7 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 127885
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127885&action=edit
Bug 29483: Further improve performance of script
This patch adds a few tests to cover more cases, and to highlight current
functionality.
The script only allows renewal if all outstanding holds can be filled by
available items.
This means we can return as soon as we have determined that not all holds can
be filled.
I add FIXME and some explanatory comments - I will file a follow-up bug for
those, but
I feel we can accept these improvements to the performance and deal with the
issues
of how it 'should' work versus how it does work on another report.
To test:
1 - prove -v t/db_dependent/Circulation.t
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list