Jump to:

23489 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Extending LeftAndMain

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

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

Page: 1
Go to End
Author Topic: 766 Views
  • cuSSter
    Community Member
    56 Posts

    Extending LeftAndMain Link to this post


    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!

  • swaiba
    Forum Moderator
    1792 Posts

    Re: Extending LeftAndMain Link to this post

    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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.