One more fix for the org_selector
authorDan Scott <dscott@laurentian.ca>
Thu, 9 Aug 2012 15:49:49 +0000 (11:49 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 9 Aug 2012 15:49:49 +0000 (11:49 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/org_selector.tt2

index 2de3df6..159af59 100644 (file)
@@ -6,6 +6,9 @@
 # NOTE: DO NOT USE PROCESS
 # Use of PROCESS results in internal variables, such as value or org_unit, to "leak" out
 
+PROCESS "opac/parts/misc_util.tt2";
+PROCESS get_library;
+
 BLOCK build_org_selector;
     node_stack = [{org => org_unit || ctx.aouct_tree || ctx.aou_tree}];
     inherited_vis = ctx.get_cgf('opac.org_unit.non_inherited_visibility').enabled == 'f';