Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

search site


Go to End


459 Views

Avatar
Pyromanik

Community Member, 419 Posts

5 May 2015 at 9:46pm

If you're manually performing the search with the ORM; $list->filterAny()

If you're using fulltextsearchable, then ... things are a little more difficult.
If you've manually applied fulltext filters and are manually making the search, then you have control over what input goes to what field. Simply use the same one twice.

->filter(['Title'=>$Search->value(),'Description'=>$Search->Value()])

(or something like that).