fix another more query

This commit is contained in:
Jagad R R
2025-01-15 22:44:17 +07:00
parent 91e4a51f03
commit f48b74589e
5 changed files with 7 additions and 6 deletions
@@ -23,7 +23,7 @@ class AuditTrailController extends Controller
'backend.pages.audit_trail.index',
[
// sort by newest
'data' => AuditTrail::orderBy('created_at', 'desc')->get(),
'data' => AuditTrail::with('user')->orderBy('created_at', 'desc')->get(),
'pageInfo' => $pageInfo,
]
);