Skip to content

Commit

Permalink
Merge pull request #3706 from hillale/patch-1
Browse files Browse the repository at this point in the history
Fix timeout with large number of subscribers
  • Loading branch information
jbrooksuk committed Jul 12, 2019
2 parents e4a43a2 + 864f380 commit 3d0322d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Dashboard/SubscriberController.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function showSubscribers()
{
return View::make('dashboard.subscribers.index')
->withPageTitle(trans('dashboard.subscribers.subscribers').' - '.trans('dashboard.dashboard'))
->withSubscribers(Subscriber::all());
->withSubscribers(Subscriber::with('subscriptions.component')->get());
}

/**
Expand Down

0 comments on commit 3d0322d

Please sign in to comment.