22851 Posts in 9934 Topics by 2804 members
|Go to End|
20 September 2010 at 6:18am
I was extending LeftAndMain for a general search function that I am implementing. And for this feature, I also extended ComplexTableField. I also created a function that overrides the searchable_fields and summary_fields of the DataObject where I was implementing the general search functionality. Everything was good except for that when my DataObject has a has_many relationship to a certain Object, it can't match the entered filter even a record with a matching property exist. Am I missing something? Enlighthen me on this one. Thanks!
1 October 2010 at 11:36pm
You can add custom where clauses to the search in ModelAdmin in this way... http://www.silverstripe.org/general-questions/show/255859?start=16
Hope this helps
|Go to Top|