Fix
authorDan Scott <dscott@laurentian.ca>
Thu, 9 Aug 2012 15:23:32 +0000 (11:23 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 9 Aug 2012 15:27:44 +0000 (11:27 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/misc_util.tt2

index 15e4f0f..1a393c7 100644 (file)
             IF show_loc_groups; loc_name = 'locg'; END;
         END;
         IF !loc_value;
-            loc_value = ctx.search_ou;
+            loc_value = CGI.param('loc') || ctx.search_ou;
             IF show_loc_groups; 
                 loc_value = CGI.param('locg') || ctx.search_ou;
             END;