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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Data Model Questions /

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

Combining Searchable Fields in ModelAdmin

Go to End

2 Posts   1459 Views


Community Member, 75 Posts

11 November 2010 at 2:54pm

I'm just wondering if it's possible to combine fields to form a searchable field?

For example, if I had languages "Mother Tongue" and "Secondary Languages", would it be possible for me to do one keyword search "Language" that would search both these fields in ModelAdmin?


Forum Moderator, 1899 Posts

19 November 2010 at 10:31pm

I'd say yes... Have a look at the following that manipulates the search results... I think this will help...