-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix additional attributes when using local scope #4875
Conversation
Codecov Report
@@ Coverage Diff @@
## 1.4 #4875 +/- ##
============================================
- Coverage 62.96% 62.94% -0.02%
Complexity 1374 1374
============================================
Files 194 194
Lines 4007 4008 +1
============================================
Hits 2523 2523
- Misses 1484 1485 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see thanks
I'm more curious if the accessor is available on a |
This worked for me. Why it is not in merged? |
Fix error:
Property [additional_attributes] does not exist on the Eloquent builder instance.
This happens, when a local scope is used. Then
$model
does not contain Model but Builder.