spatie / laravel-activitylog

Log activity inside your Laravel app
https://docs.spatie.be/laravel-activitylog
MIT License
5.36k stars 714 forks source link

Log tags in resource #1201

Closed exshapoval closed 1 year ago

exshapoval commented 1 year ago

Hi

Maybe you have answer how to log added/deleted tags from your repo https://github.com/spatie/laravel-tags/ in resourse ?

I use in resource Tags::make('Tags') field

And in model

protected $fillable = [
    'title', 'comment', 'files', 'tags'
];

public function getActivitylogOptions(): LogOptions
{
    return LogOptions::defaults()
        ->logFillable()
        ->logOnlyDirty()
        ->dontSubmitEmptyLogs();
 }

but it not log tags

spatie-bot commented 1 year ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.