update: queries

This commit is contained in:
HDVinnie
2020-05-26 13:22:18 -04:00
parent 5bc20e40c7
commit 3d3de56ccb
10 changed files with 39 additions and 39 deletions
@@ -46,9 +46,9 @@ class ModerationController extends Controller
public function index()
{
$current = Carbon::now();
$pending = Torrent::with(['user', 'category'])->pending()->get();
$postponed = Torrent::with(['user', 'category'])->postponed()->get();
$rejected = Torrent::with(['user', 'category'])->rejected()->get();
$pending = Torrent::with(['user', 'category', 'type'])->pending()->get();
$postponed = Torrent::with(['user', 'category', 'type'])->postponed()->get();
$rejected = Torrent::with(['user', 'category', 'type'])->rejected()->get();
return view('Staff.moderation.index', [
'current' => $current,