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

Nick Clemens <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #149411|0                           |1
        is obsolete|                            |

--- Comment #5 from Nick Clemens <[email protected]> ---
Created attachment 153473
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153473&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

Patch tidied after sign off

Signed-off-by: Emily Lamancusa <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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