TPAC - fix pickup locations for edit holds
authorBen Shum <bshum@biblio.org>
Tue, 7 Aug 2012 17:48:31 +0000 (13:48 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 14 Aug 2012 20:52:53 +0000 (16:52 -0400)
commit01c58f66605b19fad28de9692cfe56b8a72ba99a
tree11220459c9393714c6755ad76bd8cfbb02e6f877
parent1d5912e670a328c951a41e333c1a2c0ad564cbbd
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>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/opac/myopac/holds/edit.tt2