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

Proper documentation for folder.yaml #247

Open
sebszocinski opened this issue Aug 29, 2017 · 2 comments
Open

Proper documentation for folder.yaml #247

sebszocinski opened this issue Aug 29, 2017 · 2 comments

Comments

@sebszocinski
Copy link
Sponsor Contributor

Just a quick one... can we get some proper documentation for the folder.yaml file in terms of what options we have for controlling ordering and sorting as well as columns and if any of this can be extended via an addon?

For eg I want to order by number (I worked that out by trial and error) but I also want to set it to default sorting descending, so highest number first... something like order: number-descending would work a treat.

@sebszocinski
Copy link
Sponsor Contributor Author

sebszocinski commented Aug 29, 2017

I've also worked out that sort_dir exists but it breaks number ordering.. ie if you have sort_dir:desc it will be default list them in descending order, but if you try to then reorder them after you hit save it swaps the order over... so an item with position 12 becomes 1, 11 becomes 2 and so on...

See: statamic/v2-hub#1210

@bluetidepro
Copy link

Bump - would also like to see this in the docs! :)

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