Jump to:

22979 Posts in 11815 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » GridField show and filter on 'ManyMany' relationship

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: 357 Views
  • Dig
    Avatar
    Community Member
    29 Posts

    GridField show and filter on 'ManyMany' relationship Link to this post

    I can't quite picture how this would look so I'm no doubt doing something wrong!

    I have a list of businesses, they can each have many 'types' and many 'regions'. I would like to have a single gridfield overview of these and have the columns filterable.

    I can add custom summary fields that will take the many types and show them as a comma separated list of names, that is all good, but filtering doesn't work on these columns.

    I can't just put 'Types' in the summary field as I get an error fortemplate does not exist on ManyManyList

    Filtering is really the action I want here and its a front end field so I don't have model admin's search on the left.

    Any advice welcome!

    357 Views
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.