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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   5124 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