reduce nbr of users in the dash column

pull/35/head
Ondřej Hruška 6 years ago
parent b0f77be93d
commit 577a5349c4
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 3
      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');

Loading…
Cancel
Save