From: Bill Erickson Date: Wed, 21 Mar 2012 13:52:26 +0000 (-0400) Subject: custom org tree : tpac X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=241fedfd3917b2675713cd08fe68b03cad04a687;p=evergreen%2Fequinox.git custom org tree : tpac Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/opac/parts/org_selector.tt2 b/Open-ILS/src/templates/opac/parts/org_selector.tt2 index 878a2ebdaa..3e32040f08 100644 --- a/Open-ILS/src/templates/opac/parts/org_selector.tt2 +++ b/Open-ILS/src/templates/opac/parts/org_selector.tt2 @@ -89,8 +89,7 @@ BLOCK build_org_selector; # determine the depth by calculating the distance from the root porg = ctx.get_aou(org_unit.parent_ou); WHILE porg; - NEXT IF porg.opac_visible == 'f' AND !ctx.is_staff; - SET pad_depth = pad_depth + 1; + SET pad_depth = pad_depth + 1 IF porg.opac_visible == 't' OR ctx.is_staff; porg = ctx.get_aou(porg.parent_ou); END;