Code which uses this macro was back-ported without defining the macro.
Back-ported here for great justice.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
END;
END;
+
+ # Get the library or location group
+ # get_library()
+ BLOCK get_library;
+ IF !loc_name;
+ loc_name = 'loc';
+ IF show_loc_groups; loc_name = 'locg'; END;
+ END;
+ IF !loc_value;
+ loc_value = CGI.param('loc') || ctx.search_ou;
+ IF show_loc_groups;
+ loc_value = CGI.param('locg') || ctx.search_ou;
+ END;
+ END;
+ END;
+
%]