Fristen, index, css

This commit is contained in:
2026-03-30 21:46:43 +02:00
parent b34bfb0a47
commit d93d3bd1d1
8 changed files with 79 additions and 19 deletions

View File

@@ -24,6 +24,6 @@ class ChaosEvents extends Model
public static function getActiveEvents(){
return self::where('active', 1)->where('to_date_internal', '>=', today())
->where('from_date_internal', '<=', today())->get();
->where('from_date_internal', '<=', today())->orderBy('to_date_internal')->get();
}
}