From 0e35ef400908fd868f8a17510f0c10b8a2210eab Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 5 Sep 2025 15:19:19 +0200 Subject: [PATCH] Sort releases to reprocess descending, newest to oldest --- app/Console/Commands/FetchSamples.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {