This patch is meant to avoid a (very minor) silent regression
introduced by the previous patch; ultimately, though, the
functionality of tweaking the visibility of added content types
in the added content tab should be rewritten to drop any
requirement of Dojo.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
want_dojo = 1;
END;
+ # ... and for code that tweaks visibility of types on the added
+ # content tab
+ IF ctx.page == 'record' AND (ctx.expand_addedcontent OR ctx.expand_all);
+ want_dojo = 1;
+ END;
+
use_autosuggest = ctx.get_cgf("opac.use_autosuggest");
IF use_autosuggest.enabled == "t";