You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I want to get the activity of a specific item, eager loading the causer:
$entry->activities()->with('causer')->get()
but when the causer is soft deleted, that causes an error:
<td>{{ $activity->causer->name }}</td>
I solved this thanks to this issue but I think an option causer_returns_soft_deleted_models wil be useful.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions