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.

Data Model Questions /

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

Combining Searchable Fields in ModelAdmin

Go to End

2 Posts   1313 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, 1848 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...