I have a problem with yajra datatables. I`m following this
But not working, if like this.
Example :
$account = People::with(['users.profile.location'])
Datatable::of($account)->make(true);
.....
columns : [
{name: 'users.profile.name', data: 'users.profile.name'},
{name: 'users.profile.location.name', data: 'users.profile.location.name'},
]
....
when I want to sortable location.name I get error in query. "version for the right syntax to use near '.name"
thank.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire