Closed Greg808 closed 6 years ago
Hey @Greg808, thanks for reporting this. I have made a few changes to linkfield that might help. First, I have removed the debug styles causing the red bar. Second, I have added an option to define your own sort column. https://github.com/gorriecoe/silverstripe-linkfield#sort-column. I suspect if you change the default sort column to sortorder or something else it might work.
Let me know if those fixes help. If not, I'll add documentation about the belongs many many rule you mention.
Cheers
Hey @gorriecoe, sorry for the late response the fixes helped thank you.
I use your module with silverstripe 4.2.1, elemental 3.0.0. After i installed the module and ran dev/build/?flush i get this error message:
[Emergency] Uncaught Exception: Couldn't find the sort field 'Sort'
when i create a new element. This is my codeI set the relations in a yml file like:
If built a work around:
The problem is GridFieldOrderableRows does not work with unsaved relationlist. Now that it works i think there is also an error with the css.
or is the red intended?
If you need more information or i can be helpful in any other way just let me know.