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 <bshum@biblio.org>
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
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");