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

Touch parent while sorting nestable elements #992

Merged
merged 1 commit into from
May 3, 2016

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Apr 28, 2016

For performance reasons we update the position of elements
directly into database and skip activerecord callbacks.

This breaks the touching mechanisms of activerecord. We need
to ensure that the parent element (if any) gets touched to
invalidate it's cache key.

Fixes #991

For performance reasons we update the position of elements
directly into database and skip activerecord callbacks.

This breaks the touching mechanisms of activerecord. We need
to ensure that the parent element (if any) gets touched to
invalidate it's cache key.

Fixes #991
@TeatroIO
Copy link

I've prepared a stage to preview changes. Open stage or view logs.

@tvdeyen tvdeyen added this to the 3.3 milestone Apr 28, 2016
@tvdeyen tvdeyen self-assigned this Apr 28, 2016
@tvdeyen
Copy link
Member Author

tvdeyen commented Apr 28, 2016

Changelog entry is missing

@tvdeyen tvdeyen assigned mamhoff and tvdeyen and unassigned tvdeyen and mamhoff May 2, 2016
@tvdeyen
Copy link
Member Author

tvdeyen commented May 3, 2016

We don't need a change log entry for fixing a feature that is introduced in the same version.

@tvdeyen tvdeyen assigned mamhoff and unassigned tvdeyen May 3, 2016
@mamhoff mamhoff merged commit 3871af9 into master May 3, 2016
@mamhoff mamhoff deleted the fix-nested-element-order branch May 3, 2016 16:03
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.

3 participants