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?
|
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).
|
|||
|
|
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. |
|||
|
|