Update .dockerignore and month highscore
This commit is contained in:
@@ -13,3 +13,5 @@ storage/framework/testing/*
|
||||
storage/framework/views/*
|
||||
storage/logs/*
|
||||
vendor/
|
||||
|
||||
mariadb-data
|
||||
|
@@ -57,7 +57,7 @@ class ShitController extends Controller
|
||||
|
||||
public function highscores() {
|
||||
|
||||
$allshits = ShitUser::groupBy('user_id')->select('user_id', DB::raw('count(*) as total'))->orderByDesc('total')->get();
|
||||
$allshits = ShitUser::whereMonth('created_at', Carbon::now()->month)->groupBy('user_id')->select('user_id', DB::raw('count(*) as total'))->orderByDesc('total')->get();
|
||||
$users = User::all()->sortBy('name');
|
||||
|
||||
return view('highscores')->with([
|
||||
|
Reference in New Issue
Block a user