If "SetEnv physical_loc 123" is set for a given VirtualHost in the
Apache configuration, that's a useful fallback for cases where a
good default is not otherwise available to us.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
IF show_loc_groups; loc_name = 'locg'; END;
END;
IF !loc_value;
- loc_value = CGI.param('loc') || ctx.search_ou;
+ loc_value = CGI.param('loc') || ctx.search_ou || env.physical_loc;
IF show_loc_groups;
- loc_value = CGI.param('locg') || ctx.search_ou;
+ loc_value = CGI.param('locg') || ctx.search_ou || env.physical_loc;
END;
END;
END;