[Koha-bugs] [Bug 33471] 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:09:38 CEST 2023


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 149379
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149379&action=edit
Bug 33471: Add validate_pickup_location routine to Koha::Biblio

This patch adds a new routine, similar to pickup_locations except that
it short circuits once a location has been found as acceptable.

To test:
1 - Attempt placing a hold for an acceptable pickup location via the API
2 - Attempt to change pickup location to an invalid location, you are blocked
3 - Attempt to place a another hold via API for an invalid locatoin, you are
blocked
4 - Apply patch
5 - Repeat
6 - Results should be the same

-- 
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