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
Currently I am working on the implementation of ActivityLog into our Project, however I use tapActivity on every Model to overwrite the messages, so Users can actually read the messages.
I created the getActivityLogOptions function and added logOnly Fields. However, when I use "tapActivity" "changed_at" is still tracked. Is there any way to stop him from tracking "changed_at" when using tapActivity?
Also, what would be the correct way, to handle softDeletes? Since we only work with softDeletes and they are not logged at all.
It seems tapActivity completely ignores the LogOnly Option.
public function getActivitylogOptions(): LogOptions { return LogOptions::defaults() ->logOnlyDirty() ->logOnly([ "type", "email", ".....",
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
-
Hey guys!
Currently I am working on the implementation of ActivityLog into our Project, however I use tapActivity on every Model to overwrite the messages, so Users can actually read the messages.
I created the getActivityLogOptions function and added logOnly Fields. However, when I use "tapActivity" "changed_at" is still tracked. Is there any way to stop him from tracking "changed_at" when using tapActivity?
Also, what would be the correct way, to handle softDeletes? Since we only work with softDeletes and they are not logged at all.
It seems tapActivity completely ignores the LogOnly Option.
public function getActivitylogOptions(): LogOptions { return LogOptions::defaults() ->logOnlyDirty() ->logOnly([ "type", "email", ".....",
Beta Was this translation helpful? Give feedback.
All reactions