From 92e84a389e7cba0f988814d1e88f029c9dd4e1a4 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Wed, 30 Apr 2014 02:02:49 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/header.tt2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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"); -- 2.43.2