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
I have this line on my code:
$tbl->defineRelationship("uid", "user_details", "id", "name");
The above returns the names of the users from the associated "user_details" table.
It works as expected but if I sort this field by clicking table header, it doesnt sort by "name" but by the "id".
How can I sort by "name"?
The text was updated successfully, but these errors were encountered:
I have this line on my code:
$tbl->defineRelationship("uid", "user_details", "id", "name");
The above returns the names of the users from the associated "user_details" table.
It works as expected but if I sort this field by clicking table header, it doesnt sort by "name" but by the "id".
How can I sort by "name"?
The text was updated successfully, but these errors were encountered: