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 sort orders on import #154

Merged
merged 3 commits into from Feb 9, 2017
Merged

Conversation

jayoshih
Copy link
Contributor

@jayoshih jayoshih commented Feb 7, 2017

No description provided.

@jamalex
Copy link
Member

jamalex commented Feb 7, 2017

Could you explain how this fixes it? Were there some nodes in the source with no sort_order?

for c in node.children.all():
_duplicate_node(c, parent=new_node.id)
_duplicate_node(c, sort_order=sort_order, parent=new_node.id)

This comment was marked as spam.

This comment was marked as spam.

@jamalex jamalex merged commit 51a76c0 into learningequality:unicef_demo Feb 9, 2017
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

2 participants