Merge pull request #3706 from hillale/patch-1

Fix timeout with large number of subscribers
This commit is contained in:
James Brooks
2019-07-12 23:00:40 +01:00
committed by GitHub
@@ -31,7 +31,7 @@ class SubscriberController extends Controller
{ {
return View::make('dashboard.subscribers.index') return View::make('dashboard.subscribers.index')
->withPageTitle(trans('dashboard.subscribers.subscribers').' - '.trans('dashboard.dashboard')) ->withPageTitle(trans('dashboard.subscribers.subscribers').' - '.trans('dashboard.dashboard'))
->withSubscribers(Subscriber::all()); ->withSubscribers(Subscriber::with('subscriptions.component')->get());
} }
/** /**