mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-07 03:16:46 +08:00
fix a bug
This commit is contained in:
parent
58da33d3c9
commit
10699d69f6
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user