-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Templates: Sort by the rendered title instead of the slug #50353
Conversation
Size Change: +5 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
Would it be possible to put the numeric titles last? It looks a bit strange to me that 404 is "prioritized". |
Thanks for taking a look @carolinan. The issue that this stemmed from was basically suggesting that. See the note here about this. I don't think it is worth the extra sorting complexity for this, especially since I think the plan is to have ways of sorting the templates into different categories, in which case the 404 will probably end up in something like a But let me know if you can think of a less complex way of pushing numeric items to the bottom. |
Maybe we should just use the title "Missing -404" or similar. |
What if it's called "Error 404: Missing"? |
What?
Switches the template sort order in the site editor left navigation and the manage all templates list to use the rendered title instead of the slug
Why?
It is possible for the template to have a title that is very different to the slug, and so the sort order can end up appearing random to the user
How?
Uses
title.rendered
instead ofslug
to sortTesting Instructions
Screenshots or screencast