Optimise the queries used to display packet contents and show DBID if msgid is not available
This commit is contained in:
@@ -17,7 +17,13 @@
|
||||
<tr>
|
||||
<td>{{ $oo->fftn->ftn }}</td>
|
||||
<td>{{ $oo->tftn->ftn }}</td>
|
||||
<td>{{ $oo->msgid }}</td>
|
||||
<td>
|
||||
@if ($oo->msgid)
|
||||
{{ $oo->msgid }}
|
||||
@else
|
||||
<small>[{{ $oo->id }}]</small>
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $oo->datetime }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
@@ -64,7 +64,7 @@ use App\Classes\FTN\Message;
|
||||
<div class="col-8">
|
||||
PATH: <br><strong class="highlight">{!! optimize_path($msg->pathorder())->join('</strong> -> <strong class="highlight">') !!}</strong>
|
||||
|
||||
@if ($msg->rogue_path->count())
|
||||
@if (($msg instanceof \App\Models\Echomail) && $msg->rogue_path->count())
|
||||
<br><small>[<strong>NOTE</strong>: Some path values couldnt be identified - ({{ $msg->rogue_path->join(',') }})]</small>
|
||||
@endif
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user