Table relationship sort error.
What is wrong in below code. I get error while sorting.
2 Replies
You need to modiofy the eloquent query to load the relationships on the table level, opposed to on the column level if I remember correctly.
Thanks @toeknee . You mean have $name = 'member.memberable.name' in table and use $name in column. I tried this and it gives same error. But then i wrote callback query inside sortable()