9 years ago
1
Topic

Hi Sebloders,

I'm looking for a way to search content type using "OR" between conditions instead of AND. For example, I'm trying to make a little search form where users can type keywords in two fields : title and presentation. At the moment, it displays result which have title AND presentation corresponding the search. But I want to display results where title OR presentation match the search criteria.

As an example, if users type "test" in title field and "hello" in presentation field, at the moment he got results where title contains test AND presnetation contains "hello", but I want results which title contains "test" OR presentation contains "hello".

It is possible ? How ?

Many thanks by advance

Get a VIP membership
9 years ago
0
Level 1

Hi MVDI,

To implement that, you should use the field "search generic".

In the configuration of this field, ou should select "article title" and the field of the description.

Regards,
Mehdi

Get a Book for SEBLOD