reduce nbr of users in the dash column

This commit is contained in:
2018-08-12 10:33:01 +02:00
parent b0f77be93d
commit 577a5349c4
+1 -2
View File
@@ -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');