[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
Mon Apr 10 22:40:17 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33471
Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #149379|0 |1
is obsolete| |
--- Comment #2 from Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> ---
Created attachment 149411
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149411&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
Signed-off-by: Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list