1
votes

I'm using Views in Drupal.

I want an exposed filter selecting the ndoes containing a specific word. But I noticed I cannot search more then one CCK field per filter.

Since I want to expose it, I want an unique text-input field for all CCK Fields: is that possible ?

At the moment I can only add a new filter for each CCK field.

Thanks

3

3 Answers

2
votes

You can use the CCK module Computed Field.

Setup the field so that it stores all the text from all the other fields, then you can filter on this one field (and effectively filter on all fields).

See this code snippet for merging multiple fields into one.

1
votes

I've actually found the item "Search" in my Filters options in Views. I dunno how I could ignored it before. It actually exists, and works quite well. Solved.

0
votes

Here is the discussion. http://drupal.org/node/451000

Drupal 6 solution - Comment #16

Drupal 7 solution

Previous solution can be used to Drupal 7 but there is one module you can use http://drupal.org/project/views_filters_populate

Great module. But there is 1 problem "only populates STRING exposed filters"