Exposed Filters in a View - "OR" relationship with multiple filters?

andymilk - October 3, 2009 - 17:32

Is it possible to have an OR relationship with 2 or more Exposed Filters in a View?

I'd like to have ONE form field (a search term) form field. I'm going to use that value and populate the URL w/ the multiple filters.

For instance:

Search: FORM FIELD

Upon submitting the form, it'll go to this URL:
/books/?title=[FORM FIELD VALUE]&author=[FORM FIELD VALUE]

So I'm using the ONE form field value to search 2 exposed filters. The only problem is that it's an AND relationship, so it's not returning any results.

Is there a better way to use ONE form field to search multiple fields in a View?

Thanks,
Andy

_

WorldFallz - October 3, 2009 - 18:27

I haven't tried it yet, but maybe the http://drupal.org/project/views_or module?

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

That did the trick, thanks

andymilk - October 4, 2009 - 15:36

That did the trick, thanks for the suggestion!

 
 

Drupal is a registered trademark of Dries Buytaert.