Correction des différents bugs
This commit is contained in:
1 parent
780798ff25
commit
cda2104b11
25 files changed
+1096
-334
No files matched your search
@@ -65,10 +65,10 @@ class Contests extends Component
|
||||
public function render()
|
||||
{
|
||||
$datefin = Carbon::now()->addDays(3)->format('Y-m-d');
|
||||
$contests = Contest::where('fin', '>=', now())
|
||||
$contests = Contest::where('fin', '>=', Carbon::now()->format('Y-m-d'))
|
||||
->where('fin', '<=', $datefin)
|
||||
->where('participated', '!=', true)
|
||||
//->where('enable', true)
|
||||
->where('enable', true)
|
||||
->orderBy('fin', 'asc')
|
||||
->paginate(20);
|
||||
|
||||
|
||||
Reference in new issue
Block a user