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:53:09 +0000 (16:53 -0400)
commiteca49e528ea2987130130d87670c6283861b19bf
treed52ee31770d9953e956dd3e4bc1d2dbf4010d198
parentaddef21ade78b1abc52e8ced611b1c162c7c2d65
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