-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get and show old value of field #38
Comments
Hello @phuongdm1987 , please, show me an example of what you like to do. |
Hi @anteriovieira, I want to declare $logCustomFields as below with aol value like {old.name}
|
Is correct? |
Hi @anteriovieira, when call {new.name} only then ok |
When it fails, it shows an error message? His log records contain old values? |
@phuongdm1987 , thank you for reporting. The failure is precisely because you do not have old value, to resolve use a default value for the field. public static $logCustomFields = [
'name' => 'The name change to {old.value|Default value} from {new.name|Default value}'
]; But you were right to report, this should not happen. I will adjust this as soon as possible |
Hi, @phuongdm1987 , Was adjusted, anything we are here. New version available: |
Replace lumen-vendor-publish with larasupport
I can not get old value of field when show log by logCustomFields.
The text was updated successfully, but these errors were encountered: