LP#1346381: Allow copy location filters above branches user/miker/lp-1346381-show_locations-wherever-they-exist
authorMike Rylander <mrylander@gmail.com>
Wed, 22 Apr 2015 21:55:25 +0000 (17:55 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 22 Apr 2015 21:55:25 +0000 (17:55 -0400)
commit99661230deadd16791634370ed1b7ccece843b9c
tree1724bac8e45a4f7bb6a06c21814abccbe918c017
parent6b0d8e7c2f72431efb3cacaaa9603f0c9dd15cf2
LP#1346381: Allow copy location filters above branches

The TPAC, inheriting functionality from the JSPAC, restricted the
copy locations one could filter on in the advanced search screen.
For installations that have many shared copy locations at the (stock-speak)
System level and just a few Branch level special locations, this is
sub-optimal.

This commit allows the display of System-and-above copy locations
for filtering, but excludes Branch-level locations in order to avoid
the heretofore protected-against location list explosion.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/opac/copyloc.js