Skip to content
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

Allow Models Omitted by Global Scopes to be Refreshed #15269

Closed
wants to merge 1 commit into from
Closed

Allow Models Omitted by Global Scopes to be Refreshed #15269

wants to merge 1 commit into from

Conversation

deefour
Copy link
Contributor

@deefour deefour commented Sep 4, 2016

A model instance cannot be refreshed (null is returned) if it's class has a global scope with a condition that prevents the instance from appearing in queries.

@taylorotwell
Copy link
Member

Should be sent to 5.3 branch.

@deefour deefour deleted the bugfix/fresh-without-global-scopes branch September 5, 2016 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants