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

Fixed issue with update_positions that wasn't taking 'scope_condition' into account #47

Merged
merged 1 commit into from Aug 9, 2012

Conversation

bastien
Copy link
Contributor

@bastien bastien commented Jul 30, 2012

As soon as you would have more than one list, items positions would be updated twice when calling insert_at. The 'update_positions' callback would check if there are more than one page at the new position, and if there was would update the intermediate items. Problem being that this check didn't take the scope into account.

I've fixed the issue and added a test case.

@dubroe
Copy link
Contributor

dubroe commented Aug 6, 2012

Thanks for fixing this!

swanandp added a commit that referenced this pull request Aug 9, 2012
Fixed issue with update_positions that wasn't taking 'scope_condition' into account
@swanandp swanandp merged commit 06f847e into brendon:master Aug 9, 2012
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.

None yet

3 participants