dev-partners / laravel-nova-auditable-log

A Laravel Nova resource tool for visualizing the audit log created by the Laravel Auditing package.
51 stars 22 forks source link

Not working with fields in Nova Panel #16

Closed u12206050 closed 4 years ago

u12206050 commented 4 years ago

When fields are changed that are contained within a Nova Panel then those fields don't show up when trying to restore, even though their values do exist in the audit log.

recycledbeans commented 4 years ago

Thanks, we'll look into this.

recycledbeans commented 4 years ago

Hey @u12206050 I wanted to follow up on this. I've tried replicating this issue based on your description, but haven't been able to do so. I actually think this may be related to #9 in that the restore functionality remains confusing. I'm working on an update to the package which should clear this up.

If you do not think this is the case, can you provide an example Nova resource setup in which this bug shows up?

u12206050 commented 4 years ago

Hi, I think it was mainly due to the fact that I was using astrotomic/laravel-translatable which merges two tables into one model. I have forked and fixed it as you can see here Had to change the namespace in order for composer to use my version and not yours, but you are welcome to cherry pick from it.

Otherwise when I have time I can create a pull request, will just have to revert the namespaces thats all.