Content-Length: 233039 | pFad | https://github.com/sveltia/sveltia-cms/issues/304

E4 Changing the default sort on Admin UI page · Issue #304 · sveltia/sveltia-cms · GitHub
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

Changing the default sort on Admin UI page #304

Closed
alexpetralia opened this issue Jan 14, 2025 · 3 comments
Closed

Changing the default sort on Admin UI page #304

alexpetralia opened this issue Jan 14, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@alexpetralia
Copy link

Hello, thank you for all your work here! Setup was very simple thanks to your docs.

I just had one quick question: in the Admin UI page, is it possible to set a default sort field?

I see in the Decamp CMS config that we can specify fields which are sortable, but not necessarily one for which to be the default sort (e.g. last_modified DESC).

@kyoshino
Copy link
Member

Hiya! Actually, Static CMS, a now-discontinued Netlify CMS fork, has altered the sortable_fields option to include the default sort field and direction. I’m thinking about adding compatibility for it. Will work on it shortly.

This is the relevant Netlify/Decap CMS issue:

@kyoshino kyoshino self-assigned this Jan 14, 2025
@kyoshino kyoshino added the enhancement New feature or request label Jan 14, 2025
@kyoshino
Copy link
Member

The extended sortable_fields option is shipped with v0.54.0.

@alexpetralia
Copy link
Author

Amazing, thank you so much!! This is awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/sveltia/sveltia-cms/issues/304

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy