diff --git a/app/Helper.php b/app/Helper.php index 9110a0bf..e04eff91 100644 --- a/app/Helper.php +++ b/app/Helper.php @@ -1108,6 +1108,7 @@ public static function getLatestEventsByParsedDate(int $count = 5) { $events = Cache::remember($cacheKey, 2 * 60, function () use ($count) { $events = CrimeEvent::orderBy("parsed_date", "desc") + ->where('parsed_date', '<', Carbon::now()) ->with('locations') ->limit($count) ->get();