Sorting doesn't work on nova resource but works on relations #156
-
I've went through the configuration guide the sorting on relations works but laravel/framework – v9.25.1 spatie/eloquent-sortable – 4.0.1 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @KasparRosin, thank you for your answer. I believe I might be missing some steps here, but just to give you another concrete example. So, the code running Laravel Nova 3.22 works fine. Whenever I enter the resource, I'm able to see the icons to drag the records to the position I want. (see it above) But, the application running Laravel Nova 4.21, which has the same implementation, does not show the icons to sort the records when I enter the resource, only if I load it as a relationship. |
Beta Was this translation helpful? Give feedback.
Hey!
Try out the latest version to see whether the issue remains.
Unable to reproduce this with a default configuration.