reduce nbr of users in the dash column
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user