Multiple orderby in single relation
Hi Guys
I want to know how to do multiple sort
like for example there is 2 column called priority and created_at.
If priority is filled or not null or not = 0 it will use the priority
If priority is not filled or null or = 0 it will use created_at
here is my code
i only able to do one
0 Replies