Disable autosuggest for physical_dept ys, since we'll soon be
filtering that by shelving location and autosuggest will be
suggesting content from other shelving locations.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
# defining that separately.
want_dojo = 0;
- use_autosuggest = ctx.get_cgf("opac.use_autosuggest");
+ IF ctx.physical_dept == 'ys';
+ ELSE;
+ use_autosuggest = ctx.get_cgf("opac.use_autosuggest");
+ END;
IF use_autosuggest.enabled == "t";
want_dojo = 1;