Fristen, index, css
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user