From: Jeff Godin Date: Tue, 12 Mar 2013 19:59:30 +0000 (-0400) Subject: Disable autosuggest for physical_dept ys X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e75fa180c0abbeedbe907691cd0362e54282e428;p=evergreen%2Ftadl.git Disable autosuggest for physical_dept ys 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 --- diff --git a/templates_tadlskin/opac/parts/header.tt2 b/templates_tadlskin/opac/parts/header.tt2 index ba754129cc..2c2ff7423f 100644 --- a/templates_tadlskin/opac/parts/header.tt2 +++ b/templates_tadlskin/opac/parts/header.tt2 @@ -91,7 +91,10 @@ # 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;