[Koha-bugs] [Bug 33471] New: Improve performance of hold pickup location verification for next available holds
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Apr 9 22:05:54 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33471
Bug ID: 33471
Summary: Improve performance of hold pickup location
verification for next available holds
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Hold requests
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
When placing a new hold, or updating the location of an existing hold, we
verify that the pickup location is valid.
To do so we call 'pickup_locations' on the bib, or the item.
The item case is trivial, however, for bibs we call Item->pickup_locations for
every item on the bib. If we are simply validating a single location this can
be quite expensive and unnecessary.
I propose adding a new function to specifically validate pickup location for a
biblio
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list