mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Sort releases to reprocess descending, newest to oldest
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user