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>
Wed, 14 Nov 2012 14:56:15 +0000 (09:56 -0500)
commitc10285b57c5b260cdee52633df55542d20b0ebda
treea5a60ca38bab20625a0828f74fedb103b9fd2913
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).
Hold summary in record detail

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/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
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/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/copy_counts.tt2
docs/RELEASE_NOTES_NEXT/tpac-ou-hiding.txt [new file with mode: 0644]