mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Load category and parent relations when querying db
This commit is contained in:
@@ -648,7 +648,7 @@ class ProcessReleases
|
||||
$this->colorCli->header('Process Releases -> Create the NZB, delete collections/binaries/parts.');
|
||||
}
|
||||
|
||||
$releasesQuery = Release::query()->with('category')->where('nzbstatus', '=', 0);
|
||||
$releasesQuery = Release::query()->with('category.parent')->where('nzbstatus', '=', 0);
|
||||
if (! empty($groupID)) {
|
||||
$releasesQuery->where('releases.groups_id', $groupID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user