TPAC - fix pickup locations for edit holds user/bshum/lp1034076_fix_pickup_lib
authorBen Shum <bshum@biblio.org>
Tue, 7 Aug 2012 17:48:31 +0000 (13:48 -0400)
committerBen Shum <bshum@biblio.org>
Tue, 7 Aug 2012 17:48:31 +0000 (13:48 -0400)
commit8824a0252d058c9a3de909cb95c581147fcb8b4f
treed9bbd575993eacea4ec8d49e574ef4bc8b39ef1e
parentedd947c51792037202bfad6a78cd7427e8e25041
TPAC - fix pickup locations for edit holds

When a patron goes to edit a hold in TPAC, they have the option to
choose a different pickup location. Unfortunately, it looks like that
dropdown does not prevent them from selecting locations that aren't
normally allowed for pickups, such as system groups or consortium
itself.

This patch adds a check for 'can_have_vols_only' to the edit holds
screen.

Credit to Melissa Lefebvre for finally nailing down the source of
the issue.

Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/myopac/holds/edit.tt2