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

easiest way to move element within list? #385

Open
krtschmr opened this issue Sep 17, 2021 · 3 comments
Open

easiest way to move element within list? #385

krtschmr opened this issue Sep 17, 2021 · 3 comments

Comments

@krtschmr
Copy link

having elements with position 0,1,2,3,4,5 and item 5 gets and update to be position 0. there seem to be no automatic reordering, leaving the list with 0,0,1,2,3,4.

what's the most efficient way to do this?

@seuros
Copy link
Member

seuros commented Sep 17, 2021

acts as list gem for example.

@krtschmr
Copy link
Author

for reasons, we migrated from AAL to closure_tree. is there any plan to add such a feature?

@seuros
Copy link
Member

seuros commented Sep 18, 2021

AAL and closure_tree have different usage. I use them both in the same model to have list and tree capability.

Can you describe more what you trying to achieve ?

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

No branches or pull requests

2 participants