From: Ben Shum Date: Wed, 30 Apr 2014 06:02:49 +0000 (-0400) Subject: LP#1314370: Enable dojo all the time in the catalog X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=92e84a389e7cba0f988814d1e88f029c9dd4e1a4;p=evergreen%2Fmasslnc.git LP#1314370: Enable dojo all the time in the catalog Because we rely on the dojo framework for the shelving location filter in the advanced search, we should choose to use dojo everywhere and not just when autosuggest, google books, or novelist are enabled. This is a quick change to toggle the flag for want_dojo to be set all the time. Signed-off-by: Ben Shum Signed-off-by: Liam Whalen --- diff --git a/Open-ILS/src/templates/opac/parts/header.tt2 b/Open-ILS/src/templates/opac/parts/header.tt2 index 7c9b95fbc5..57c293c2bf 100644 --- a/Open-ILS/src/templates/opac/parts/header.tt2 +++ b/Open-ILS/src/templates/opac/parts/header.tt2 @@ -90,10 +90,9 @@ END; END; - # Whether we want Dojo or not may one day be a wholly distinct - # concern from whether we want autosuggest, so let's get used to - # defining that separately. - want_dojo = 0; + # Dojo is required to use the copy locations advanced search filter, + # therefore, it should always be enabled. + want_dojo = 1; use_autosuggest = ctx.get_cgf("opac.use_autosuggest");