Add dept location selector (replaces item type)
authorJeff Godin <jgodin@tadl.org>
Tue, 12 Mar 2013 20:10:40 +0000 (16:10 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 12 Mar 2013 20:10:40 +0000 (16:10 -0400)
commit96a399ef9c889fe4e8aa82b67c52bcab80a1f848
tree640b6e13e32e668a3367cf16cb9eb7098be2e90a
parente75fa180c0abbeedbe907691cd0362e54282e428
Add dept location selector (replaces item type)

Add optional item_locations_selector (similar to item_type_selector)
which can be used in place of the item_type_selector in areas where
we would like to use shelving locations and not item type as a
search filter.

This is similar to features which exist in future versions of
Evergreen, and may be a simple intermediate step which is later
replaced.

Triggered by the physical_dept 'ys' at the moment, we have a
hardcoded list of groups of shelving locations. If triggered with an
unknown department, the item_locations_selector defaults to a single
empty entry for all locations.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
templates_tadlskin/opac/parts/item_locations_selector.tt2 [new file with mode: 0644]
templates_tadlskin/opac/parts/searchbar.tt2