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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

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

[WORKAROUND] Two different many_many and belongs_many_many relationships on the same two tables


Go to End


9 Posts   7687 Views

Avatar
theorytank

Community Member, 8 Posts

13 July 2014 at 6:20am

I know this is a really old thread, but I've hit this issue in a few projects lately, so I decided to solve it with an extension for now. I'll have a look at what's up in the core soon. Instructions are in the PHP file. Only tested in Silverstripe 3.1.5

https://github.com/theorytank/silverstripe-BelongsManyManyExtension

Josh.

Go to Top