Jelajahi Sumber

更多 random

maa3606 2 tahun lalu
induk
melakukan
2325789b16
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/Http/Controllers/DrawController.php

+ 1 - 0
app/Http/Controllers/DrawController.php

@@ -27,6 +27,7 @@ class DrawController extends Controller
             ->where('is_checked_in', 'true')
             ->whereTime('check_ins.updated_at', '<=', $activity->deadline)
             ->whereIn('region', $request->region)
+            ->inRandomOrder()
             ->get()
             ->random($request->number);