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

Fix to EditController _doUpdate() method. #48

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

davidkellerman
Copy link
Contributor

The method picks the id property from the values parameter, rather than using the id parameter. If there is no id field in values, the update gets performed with an empty selector (so it updates all records).

The method picks the `id` property from the `values` parameter, rather
than using the `id` parameter. If there is no id field in `values`, the
update gets performed with an empty selector (so it updates _all_
records).
@davidkellerman davidkellerman merged commit b6eef0a into master Jul 12, 2018
@davidkellerman davidkellerman deleted the fix/edit-controller-doupdate branch July 12, 2018 19:12
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