advanced search

Hello, I try to build a content view for a adavnced search

but when, for example, I make a search on the title, the only operator is “LIKE” ou “=” but how configure the widget to search with “CONTAINS” like :

or having several operator ? Thanks

0 votes

1 answers



Like is the good operator but be careful to use a real database engine to manage it correctly (Postgres, oracle, MS SQL, etc.). Embedded database used by default not manage well this operator.

Argument you can use so, will be “%keywor%“. You will ask documents containing keywor fragment into the title.

0 votes

yes, if I search "%tile%" ok, but if I search "title" without "%" the result is not the same… and it can be a source of mistake for my users