The advanced search options for node types should only appear on the node search, however it also appears on the user search.

CommentFileSizeAuthor
#1 search_config-825308.patch1.65 KBjbomb

Comments

jbomb’s picture

Status: Active » Needs review
StatusFileSize
new1.65 KB
jbomb’s picture

Status: Needs review » Fixed

committed to dev

izmeez’s picture

Thanks.

[edit] Since this issue is already marked as fixed I have put my question into a new issue, http://drupal.org/node/848588
[/edit]

Is it also possible to turn off the category selection box for users and maybe even for help sections?

Alternatively, can category selection only be included in the advanced search options as it does for content with a feature to allow the advanced search to appear on desired sections or not?

Status: Fixed » Closed (fixed)

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

adr_p’s picture

Status: Closed (fixed) » Needs review

Wouldn't it be better to use a method (to hide advanced options on non-node search forms) I've presented in http://drupal.org/node/848588#comment-3964328?

izmeez’s picture

Sorry, it's been awhile. I have tested the patch linked to in comment #5 and think it may be a better solution than the patch in comment #1 that was committed http://drupalcode.org/project/search_config.git/commit/4451205e3afb28efd...

alan d.’s picture

Status: Needs review » Closed (duplicate)

Since the other queue has a patch, I'm marking this as duplicate even though it is the original issue. (An issue queue clean up)

izmeez’s picture

@alan, that's good and hopefully in the other issue we can answer if the patch in that queue is better than the patch in #1 that was committed.

alan d.’s picture

Yes, it is a much better way, albeit I do not know how much time I can spare looking at the D6 version in relation to pushing these into dev / production.

In D7, the module checks for the node module search form in a similar way to the patch in the other queue.

  if (isset($form['module']['#value'])  && $form['module']['#value'] == 'node') {