Closed (outdated)
Project:
Views (for Drupal 7)
Version:
7.x-3.5
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2013 at 02:46 UTC
Updated:
14 Mar 2019 at 00:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerSo 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.
Comment #2
LTech commentedI'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
Comment #3
n_potter commentedIf 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.
Comment #4
LTech commentedI 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.
Comment #5
presleyd commentedIf you are using 'Contains' as the filter operator check the patch here: #1782678: "Combine fields" filter doesn't work with "Contains any word"
Comment #6
LTech commentedThanks 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?
Comment #7
LTech commenteddoes the filter not work with taxonomy terms? (this is a feature I need)
Comment #8
presleyd commentedNo 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?
Comment #9
markie commentedLTech: 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).
Comment #10
Anonymous (not verified) commentedI'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.
Comment #11
matthieu_collet commentedsee https://www.drupal.org/node/2466011
Comment #12
mustanggb commentedClosing 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.