Refactored the way incidents are pulled out of the database
Incidents are now pulled out via the database, grouped together via php, then missing days are added to the data
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
@endif
|
||||
|
||||
<h1>{{ trans('cachet.incidents.past') }}</h1>
|
||||
@foreach($allIncidents as $incidents)
|
||||
@include('partials.incidents', $incidents)
|
||||
@foreach($allIncidents as $date => $incidents)
|
||||
@include('partials.incidents', compact('date', 'incidents'))
|
||||
@endforeach
|
||||
<hr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user