I just upgraded to 7.zx-3.5 so that I could use Global: Combine fields filter. My friend also upgraded and he also has Global: Combine fields filter (selective). I have not been able to figure out get that in my Views much less how to use it.

How does it work? Any tutorials or docs anywhere? Many thanks!

CommentFileSizeAuthor
#10 CFF.jpg52.9 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

So yeah this is indeed some kind of new feature. What this allows is to provide a single filter for the user but simultaneously search in multiple fields. One example could be the following:

Let's assume you have a first and second name field on your users, but searching should search in both fields at the same time. Using the combine fields filter you would select the first and second name field and get one textfield to search them all.

Hopefully this explanation helps you. If it does, feel free to write a blog entry about it, so other users can find and understand it.

LTech’s picture

I'm trying to use this filter but no matter what I search for I always come up with 'no results'.
I've exposed the filter selected 'single filter' and operator 'contains any word' and selected the 'title' field for 'choose field to combine for filtering'. Yet I can't get any results to show.
What am I doing wrong?
Thanks

n_potter’s picture

If you have updated Views, be sure to run update.php and perhaps even a clearing of all your caches. I could not see the filter appear until I had done this! It should appear as an option when you click "Add" next to the Filter Criteria box.

LTech’s picture

I can add the filter, Global: Combine fields filter but I can't get it to work.
Whenever I enter something into the text box and click search it doesn't show any results.

presleyd’s picture

If you are using 'Contains' as the filter operator check the patch here: #1782678: "Combine fields" filter doesn't work with "Contains any word"

LTech’s picture

Thanks so much that was the issue. I've updated to the div version and it works. The only issue is that it is case-sensitive now which is really not great for a search engine. I don't think this has been solved. Any ideas?

LTech’s picture

does the filter not work with taxonomy terms? (this is a feature I need)

presleyd’s picture

No but you could use the contains taxonomy term filter. There is a module for autocomplete on those terms somewhere iirc. Or maybe Chosen would do what you want?

markie’s picture

Issue summary: View changes

LTech: You can add Relationships to the Terms Field, and then add the Term Name field.. Then add the field to your combined filter (Or just to your filters if that's the only field you are searching).

Anonymous’s picture

FileSize
52.9 KB

I'm hoping somebody might be watching this thread.

I am trying to use Combined Field Filters... I have many fields (only one exposed) in my view... But the combined Field filter simply won't allow me to select fields to combine...

Just to reassure - I have many fields in my 'filter criteria'...

Screenshot enclosed - of the 'combined field filters' settings.

matthieu_collet’s picture

MustangGB’s picture

Status: Active » Closed (outdated)

Closing this as outdated to tidy up a bit around here. If you're still having problems with the latest release please create a new issue.