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
So I get the user that is the teacher for this Camp model instance (the teachers table itself is for managing rights).
What I am trying to achieve is to be be able to sort the user's name field. Tried this, no luck, getting a SQLSTATE[42S22]: Column not found: 1054 Unknown column 'teacher.user.name' in 'order clause' instead.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a relation in my model, defined as
So I get the user that is the teacher for this Camp model instance (the teachers table itself is for managing rights).
What I am trying to achieve is to be be able to sort the user's
name
field. Tried this, no luck, getting aSQLSTATE[42S22]: Column not found: 1054 Unknown column 'teacher.user.name' in 'order clause'
instead.Beta Was this translation helpful? Give feedback.
All reactions