-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
Problem with reordering scoped list items #154
Comments
@brendon @philippfranke Any chance you can take a look? I am going to be away for a while. |
Hi @mcmegavolt, acts_as_list removes any existing scoping before applying its own scope: You'd have to utilise the
I hope that helps. |
Thank you for responding! I need sort items separately, with
I use jQuery for sorting two tables (Plan items where draft is true and false) on one page by dragging rows and send Ajax request to sort them. So, I need to sort only items with darft = true or draft = false, Please, explain me how to do that. Thank you again! |
Thanks @mcmegavolt, that will work well with the |
Yes! |
You're most welcome! :) Brendon Muir On Tue, Feb 10, 2015 at 7:41 AM, Aleksandr notifications@github.com wrote:
|
Can you help me guys to figure out how to reorder list items within scope, here my models:
So, I need reorder list items within draft_items and final_items separately.
When I try to do this:
It makes global items reordering outside my scope among all plan items.
How to resolve this? Thanks!
The text was updated successfully, but these errors were encountered: