From 577a5349c409607f8cfac3b7df3c52ad04078efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 12 Aug 2018 10:33:01 +0200 Subject: [PATCH] reduce nbr of users in the dash column --- app/Http/Controllers/DashController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/DashController.php b/app/Http/Controllers/DashController.php index a406238..9bc45e3 100644 --- a/app/Http/Controllers/DashController.php +++ b/app/Http/Controllers/DashController.php @@ -22,9 +22,8 @@ class DashController extends Controller $users = User::orderBy('updated_at', 'desc') ->withCount(['tables']) - ->paginate(15, ['id', 'title', 'name', 'tables_count'], 'pageu'); + ->paginate(10, ['id', 'title', 'name', 'tables_count'], 'pageu'); - // TODO visit counting $tables = Table::forList() ->orderBy('visits', 'desc') ->paginate(10, ['*'], 'paget');