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
New collection
option: defaultSort
#1110
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
FYI: Something similar is planned as part of a larger "columns definition" body of work, which is slated as a roadmap item to be picked up in the near future. |
This PR is an alternative to #1105 which provides an option for the default sort to be used by a Collection list view.
I chose the following API:
defaultSort: SortDescriptor
This provides a way for users to default to e.g. a reverse chronological order on their collections list view for a set of blog posts.