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

--- Comment #3 from Nick Clemens <[email protected]> ---
Created attachment 115782
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115782&action=edit
Bug 27529: Choose patron's branch or item's homebranch if following group rules
and patron cannot choose branch

This patch defaults the holds pickup location to the items homebranch or the
patron's branch when a group option is selected
for the hold fulfillment policy and the patron is not allowed to choose the
branch on the OPAC

To test:
1 - Set 'Default checkout, hold and return policy' -> 'Hold pickup library
match' to item's hold group or patron's hold group
2 - Set  OPACAllowUserToChooseBranch to 'Don't allow'
3 - Try to place an item level hold on the opac
4 - Ka-boom, etiher:
    The method Koha::Item->patrongroup is not covered by tests!
    The method Koha::Item->itemgroup is not covered by tests!
5 - Apply patch
6 - Repeat
7 - Note the pickup location is set to either the patron's branch or the items
homebranch
8 - Repeat plan with the other group setting

-- 
You are receiving this mail because:
You are the assignee for the bug.
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