Replies: 1 comment
-
|
Try the following: public static function relatableQuery(NovaRequest $request, $query)
{
return $query->reorder()->orderBy('order');
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
i am trying to sort the select dropdown for belongsto relationship
in my
Leadresource, i have a belongsto field:i have tried using the relatable query method to sort the select:
it does not sort the
Statusbelongsto select by what i am specifyingBeta Was this translation helpful? Give feedback.
All reactions