You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks heaps @UndefinedOffset sorry, I'm not quite following :( Thanks for all your help. could you explain a bit more or send me my code with the corrections?
Your code is ok, the problem is the Task object (and it's database table) has a field called SortOrder, and your many many extra fields does as well. So when the queries try to run it sees two fields in the database. ao you need to resolve the conflict by either changing the name of your sort column in the many many extra fields to something unique or remove the field from the task class and database table if it's not needed. Either solution should resolve the ambitious column name issue. If I remember right it's a limitation of the orm in silverstripe 3.x where it won't prefix fields with their table name in some scenarios.
I'm getting this error 'Column 'SortOrder' in field list is ambiguous'
Parent
Child base class
The text was updated successfully, but these errors were encountered: