Expose single filter of combination of two fields in views I have two user profile fields "Last Name" and "First Name". I also have a user list views. I want to expose "Name" as filter which can search for both Last Name and First Name.
How can I do single filter of combination of those two fields? Can I create it from views UI?

One possible way is to create another profile field "Name" which will be hidden in the form. On user save, I would combine the two field values into the "Name" field and then expose it as filter in the views. But this solution is hard coding and it needs to write hooks.
I eventually got a solution from this. I followed the second primary solution offered although the blogger personally used hook_views_query_alter().


installed the module Views filters populate.
added two filters "First Name" and "Last Name" (both must not be exposed) and added them to a OR filter group (Views 3 supports this). I had to use the operator "Contains any word" for both fields, otherwise the query gave me no desired result.
created a filter "Global: populate filters", added the two fields into this and exposed it.


This gave me a quick solution without hard coding.
Here is other helpful reference.