diff --git a/src/Http/Controllers/CP/Assets/BrowserController.php b/src/Http/Controllers/CP/Assets/BrowserController.php index 0e6ba00f4f..a7f6fbfb06 100644 --- a/src/Http/Controllers/CP/Assets/BrowserController.php +++ b/src/Http/Controllers/CP/Assets/BrowserController.php @@ -145,8 +145,6 @@ public function search(Request $request, $container, $path = null) if ($request->sort) { $query->orderBy($request->sort, $request->order ?? 'asc'); - } else { - $query->orderBy($container->sortField(), $container->sortDirection()); } $this->applyQueryScopes($query, $request->all());