TPAC: Process loc/locg inside build_org_selector
authorDan Scott <dscott@laurentian.ca>
Mon, 13 Aug 2012 22:36:10 +0000 (18:36 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 13 Aug 2012 22:44:39 +0000 (18:44 -0400)
commit9634f2ac928450d4dd5c044297536c82802aff85
treed95cc91fb17f890b301885d81b47c8e75c0dd2dc
parent1c4f586b0c9bc4221b32276a3490728ab29f6774
TPAC: Process loc/locg inside build_org_selector

As show_loc_groups only gets passed to build_org_selector as a
parameter, get_library didn't have a chance to properly check for that
value and therefore was generating loc instead of locg as a CGI param.
The problem was noted by Ben Shum in IRC.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/org_selector.tt2