Hello,

This is a suggestion, but I think perhaps a good one.

Right now if you add a new content type, you have to remember to opt-out the node type from the advanced search. I think this should be an opt-in system instead, as otherwise backend content types, added for things like image galleries or special resources are auto-added to search results [and worse: the names of them can appear in the advanced search check box area].

Right now it is a pure opt-out system, if the community doesn't agree that this should be an opt-in system, then at a minimum we should have a site-wide config option to either make the list of checkboxes it gives us be either an opt-in or opt-out list [much like for blocks with display only on or everything but... options]

Best, seb.

Comments

jhodgdon’s picture

Category: feature » support
Status: Active » Fixed

I think the basic idea is that advanced search, if you don't change any of the options, should match the non-advanced search.

In the core search module, all node types are returned. So advanced search should have all types enabled.

On your particular site, you can use a form alter to change the defaults if you want, but I don't think this should be changed in Drupal as a whole.

In any case, if you wanted to make such a change, you would need to file it against Drupal 8. It's too late for feature requests for Drupal 7, and definitely way too late for Drupal 6.

For now, I am changing this to a support request, since for Drupal 6 you can change this by setting up a form alter module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.