Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To my knowledge there hasn't been an option in drupal 7 to create a single exposed filter in a view which searches multiple fields, while in previous versions there existed modules to do just that.

Using the or operators is fine but then you get multiple fields in the form.

Add Global: Populate filters and you can have a single field but then the view never shows anything.

Is there any way or module that will make this work?

Edit: What I didn't notice was the field operators. For some reason the default operator for text fields in views is =, while a proper search function needs contains or has word. I've been looking for the reason I couldn't get it to work for almost 6 months now. Wow. What a pain. /facepalm

share|improve this question
Much better answer here. This is core Views functionality... drupal.stackexchange.com/questions/73731 – doublejosh May 31 '13 at 0:19
up vote 10 down vote accepted

Yes, you can have multiple fields search in a single exported filter using Global: Populate filters and Views filter populate module.

Check this answer.

share|improve this answer
I'm just going to mark this as the answer, but I thought I'd elaborate on what the actual problem turned out to be (I've been working on this for over 6 months, typical that I'd solve it myself less than half an hour after sticking it on stack) – J V Nov 15 '12 at 9:33

I know this question has been answered already, but thought I'd chime in that there's another filter called "Search: Search terms" which basically emulates the Drupal node search and searches the whole node for the entered keywords. You can't select any fields to specifically search, and I'm not sure if it uses the "Search Index" view mode etc. But it works very well.

More info: http://drupal.org/node/680442

share|improve this answer
This is actually the easiest way to go, and it is fast too. Tried different approaches, this one is by far the best. Also described here drupal.stackexchange.com/questions/73731/… – Larzan May 8 '15 at 13:54

In Drupal 7, you can use

Global: Combine fields filter

to get the desired functionality. By using the same, you can select multiple fields on which you want to perform search.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.