opac.org_unit_hiding.depth
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 13 Aug 2010 18:42:43 +0000 (18:42 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 13 Aug 2010 18:42:43 +0000 (18:42 +0000)
commit7bf9b8108db5f6a2d0fd16fd343e901bd523aba9
tree5e409aa7248f70803459fc3ed66b0124e53f8afd
parent82c697c8f1bca20f0c86a1c199b1aa8116492346
opac.org_unit_hiding.depth

This org unit setting will hide certain org units in the public OPAC if the Original Location (url param 'ol') for the OPAC inherits this setting.  This setting specifies an org unit depth, that together with the OPAC Original
Location determines which section of the Org Hierarchy should be visible in the OPAC.  For example, a stock Evergreen installation will have a 3-tier hierarchy (Consortium/System/Branch), where System has a depth of 1 and Branch
has a depth of 2.  If this setting contains a depth of 1 in such an installation, then every library in the System in which the Original Location belongs will be visible, and everything else will be hidden.  A depth of 0 will
effectively make every org visible.  The embedded OPAC in the staff client ignores this setting.

Thanks to Bill Ott for trailblazing this area and blogging about it.

We're modifying the library selector in the default skin, the depth selector (search This Branch, Local Library System, etc.), the availability summary columns in search results, the copy details in the Record Summary page, and
the search preferences under My Account (we're simply hiding those if needed).

TODO: forward-port to trunk (which handles org unit settings a bit differently).  port to craftsman?

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@17216 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/web/opac/common/js/opac_utils.js
Open-ILS/web/opac/common/js/org_utils.js
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/web/opac/skin/default/js/depth_selector.js
Open-ILS/web/opac/skin/default/js/myopac.js
Open-ILS/web/opac/skin/default/js/rdetail.js
Open-ILS/web/opac/skin/default/js/result_common.js
Open-ILS/web/opac/skin/default/xml/myopac/myopac_prefs.xml
Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml