Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

lets say I am currently working on a view that allows me to search "title" of a content type along with 3 other exposed filters. but now i want users to not only be able to search "title" but also "category" field of the same content type, except "title" and "Category" fields need to be one filter. I tried using contexual filters but I'm afraid i don't quite understand the best method.. I'm currently using global:combine fields filter but instead my views results (which worked fine previously)no longer works. I'm trying to avoid complicated coding.. Any suggestion?

share|improve this question

2 Answers 2

The newest version of Views integrates this feature without the need for Views filter populate. It's a filter called Combine fields filter.

To make use of it you first need to add all of the fields you want to filter on. You may check Exclude from display if you want to search for it, but don't want to display it.

Once all of the fields are there, add a Combine fields filter, and choose to Expose it. Choose Single field for the Filter type to Expose

This is a different approach than Views populate filter, but as this is integrated into Views I find it much more intuitive.

share|improve this answer

We use this module all over the place, it works just like it says. Only limitation is that it only works on String fields (Node Reference, Taxonomy ID, etc. won't work).

Views filters populate

This is an utility module. Its sole purpose is to fill in one blank that seems not easy to be done using normal views, which is to use one exposed string filter to search on multiple fields.

share|improve this answer
    
hey thanks..hmm it might work but my categories field are also taxonomy terms linked from my content to taxonomy by node reference. :( Is there any way i can search both taxonomy and node IDs with just one input? –  aaronStarK Sep 27 '12 at 19:17

Your Answer

 
discard

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.