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

--- Comment #1 from Nick Clemens <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to