diff --git a/app/Http/Controllers/Admin/ImageController.php b/app/Http/Controllers/Admin/ImageController.php index f8be99d2..e65f14ab 100644 --- a/app/Http/Controllers/Admin/ImageController.php +++ b/app/Http/Controllers/Admin/ImageController.php @@ -39,8 +39,8 @@ class ImageController extends Controller 'is:guest' => $builder->whereNull('user_id'), 'is:adminer' => $builder->whereHas('user', fn (Builder $builder) => $builder->where('is_adminer', 1)), 'order:earliest' => $builder->orderBy('created_at'), - 'order:utmost' => $builder->orderBy('size'), - 'order:least' => $builder->orderByDesc('size'), + 'order:utmost' => $builder->orderByDesc('size'), + 'order:least' => $builder->orderBy('size'), default => 0, };