-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GridFieldOrderableRows - No support for ManyManyThroughList #254
Comments
Damn, it would've been nice if ManyManyThroughList extended ManyManyList. |
It doesn't because the classes aren't substitutable for one another; There are similarities between the two, but they do have separate behaviour that doesn't always imply one is a superset of another. For now you should just check either case. It's about 5 hours of work IMO to fix and test. |
We could have an interface for "relation with getExtraFields" I guess instead of a core ManyManyList. |
OK - I've looked through this and the primary issue is that The most important API we need on I've added a PR to core to add this (silverstripe/silverstripe-framework#8065) I've added a PR to this repo (#258) to add MMTL support, which is dependant on the above framework PR. |
Nice one, will have a look at it. |
Ok silverstripe/silverstripe-framework#8065 is merged |
#260 resolves this |
There is no support in
GridFieldOrderableRows
forManyManyThroughList
. Note thatManyManyThroughList
doesn't extendManyManyList
.We need to find all cases where a
ManyManyList
is handled and handleManyManyThroughList
in that place as well.The text was updated successfully, but these errors were encountered: