diff --git a/app/Console/Commands/FetchSamples.php b/app/Console/Commands/FetchSamples.php index 91d5c75ea..f3953098d 100644 --- a/app/Console/Commands/FetchSamples.php +++ b/app/Console/Commands/FetchSamples.php @@ -61,7 +61,7 @@ class FetchSamples extends Command $baseQuery = Release::query() ->whereIn('categories_id', $catIds->all()) ->where('jpgstatus', 0) - ->orderBy('id'); + ->orderBy('id', 'desc'); $totalAll = $baseQuery->count(); if ($totalAll === 0) {