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

Explain orderings in the schema. It's not clear. #31

Closed
surjithctly opened this issue Jul 6, 2022 · 1 comment
Closed

Explain orderings in the schema. It's not clear. #31

surjithctly opened this issue Jul 6, 2022 · 1 comment

Comments

@surjithctly
Copy link

In the docs, it says:

// Optional: The plugin also exports a set of 'orderings' for use in other Document Lists
  orderings: [orderRankOrdering],

But what does this code actually do? What if I did not add this? Please clarify this option as it's not understandable.

@SimeonGriggs
Copy link
Collaborator

Fair point, have added a link to https://www.sanity.io/docs/sort-orders above that line.

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