TPAC Org unit hiding
authorBill Erickson <berick@esilibrary.com>
Fri, 21 Sep 2012 17:58:46 +0000 (13:58 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 13 Nov 2012 21:03:02 +0000 (16:03 -0500)
commit73be0cad84be5b1cd263b53557fdf9cae88ce161
treef03374cf5fbad23f0d5b628a6118476c1c4a845d
parenteabc8c689151b27f7d2d421775f19dbaa82dbe42
TPAC Org unit hiding

Adds support for the opac.org_unit_hiding.depth org unit setting to
TPAC, which makes out-of-scope org units disappear (except when
explicitly requested).

Ui changes:

All search org unit selectors
Holds pickup lib selector
Copy summary in search results page
Copy list in search results page
Copy summary in record detail page (which controls the copy grid).

Org unit hiding is based on the physical_loc (Physical Location) param /
cookie, which is the closest analog to 'ol' (original location), from
which it was based in the JSPAC.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/opac/parts/misc_util.tt2
Open-ILS/src/templates/opac/parts/org_selector.tt2
Open-ILS/src/templates/opac/parts/record/copy_counts.tt2
Open-ILS/src/templates/opac/parts/result/copy_counts.tt2