Replies: 1 comment
-
|
Default ordering is applied by public static function defaultOrderings($query)
{
return $query->latest('updated_at');
} |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Detailed steps to reproduce the issue on a fresh Nova installation:
`
public static function indexQuery(NovaRequest $request, $query): Builder
{
return $query->orderBy('updated_at', 'desc');
}
`
Beta Was this translation helpful? Give feedback.
All reactions