Addons: allow disabling subprojects filter (#12684)
Some projects don't need this filter. Like our docs (we don't want to
show results from our dev docs to our users), until we implement a way
to expose custom filters, I'm implementing a feature flag to hide this
option. Since this is introducing a new query, I found a way to reduce
the number of queries for other cases as well :)