F
Filament5mo ago
MZX

How to configure a resource to only list the records of the authenticated user?

Title
Solution:
->modifyQueryUsing(function (Builder $query) { $query->where('patient_id', auth()->id());...
Jump to solution
2 Replies
Solution
MZX
MZX5mo ago
->modifyQueryUsing(function (Builder $query) { $query->where('patient_id', auth()->id());
Want results from more Discord servers?
Add your server