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

--- Comment #3 from Tomás Cohen Arazi <[email protected]> ---
Created attachment 117758
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117758&action=edit
Bug 27863: Add a way to override pickup locations constraints

If AllowHoldPolicyOverride is set, staff members are able to choose any
branch marked as pickup location for a hold. The route for retrieving
the valid pickup locations should provide a way to request the override.

This patch does that, based on work from bug 27760. A new parameter is
added: an x-koha-override header, with the value of 'any' that will
force the override if the syspref is enabled.

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass!
3. Sign off :-D

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