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

Set the order of many relations #8

Open
mbabauer opened this issue Apr 29, 2016 · 2 comments
Open

Set the order of many relations #8

mbabauer opened this issue Apr 29, 2016 · 2 comments

Comments

@mbabauer
Copy link

Is there a way to set the order of a many relation?

@lukejagodzinski
Copy link
Owner

What exactly do you mean by "order"?

@mbabauer
Copy link
Author

How do I control the order of the items in the child reference.

Say I have an Object Page, and each page has a Section. Sections are added to the end, but can be reordered by the user. Is there a way to tell the relation to order the Sections using an order field, so all I have to do in code is maintain the right order count? Or is there a different pattern for this?

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