Two things I really love about project module's advanced search are the ability to restrict results by either "Authored by" or "Posted in"... it'd be cool if the core search module could do this as well.

I imagine "posted in" could be problematic from a performance standpoint, but it seems like "Authored by" might be pretty easy.

Comments

robertdouglass’s picture

Version: 6.x-dev » 7.x-dev
David Lesieur’s picture

http://drupal.org/node/256792 will make it easy to implement a hook in user module (or a contrib module) for doing this.

jhodgdon’s picture

Version: 7.x-dev » 8.x-dev

This did not make it into Drupal 7 by the feature request deadline, so moving to Drupal 8.

jhodgdon’s picture

Title: Restrict searches by author » Allow searching by fields and taxonomy

Actually, the author part of this is is a duplicate of
#233476: Add search by node creation date and the author

The "posted in" feature sounds like taxonomy (which you could do in Drupal 6 advanced search, but it has been removed from Drupal 7).

It would also be interesting for core search to allow searching by fields (which are now in core)... so I'll leave this open as a feature request for that. Please discuss author searching on that other issue.

pwolanin’s picture

filter by author is now in core for 8.x

All these should work, even if they are not in the form by default.

Probably this issue should be to add the author to the form as an autocomplete, or more generally make that form useful if we are not going to rip it out all together.

klonos’s picture

I think we should postpone this on #2083717: Convert Search Results to Views (or close it as a duplicate or even make the other issue a META and this one one of its sub-issues).

jhodgdon’s picture

Status: Active » Closed (duplicate)