Limit graphic stats to 6 months by default, some performance query improvements

This commit is contained in:
Deon George
2021-12-03 11:24:23 +11:00
parent bf57f151d5
commit 10afd6f3a4
5 changed files with 29 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ If you have more than 1 BBS, then the Clearing House can receive all your mail f
}
},
series: [
@foreach (\App\Models\Domain::active()->public()->get() as $o)
@foreach (\App\Models\Domain::active()->public()->with(['echoareas'])->get() as $o)
{
name: '{{ $o->name }}',
data: {!! $o->daily_area_stats() !!},

View File

@@ -1,4 +1,7 @@
@extends('layouts.app')
@section('htmlheader_title')
Message View
@endsection
@section('content')
<h3>Echomail</h3>