-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.2.10, 5.3.4
Problem:
The page template one can choose in the pages app, and the components one can choose in the pages editor are sorted alphabetically.
This is in many situations quite annoying:
When the most often used pages and component have a "low" letter (t-z), they appear at the very bottom, or in case of page templates you need to click on "next" to get to the second tab pane -> you loos possibility to do all via keys, mouse click is a must.
For example the "Section" page is always in the second pane.
Source of problem:
/modules/pages/fieldTypes/templateSelect defined info.magnolia.pages.app.field.TemplateSelectorFieldFactory
Which delegates to a internal used comparator class.
Solution:
Allow to define/configure your own/custom comparator class on a select field.
(Probably on any field that operates on more than just one value this would make sense)
I think this is a often use case for select fields.
Having an impact on the order of the values without the need to "duplicate" the originals Factory class just for injecting a different comparator.
- is depended upon by
-
MGNLUI-3347 CLONE - Add comparator class for sorting available components list
- Closed
-
PAGES-5 Add comparator class for sorting available components list
- Closed
- is related to
-
MAGNOLIA-6062 Remove default sorting for available templates
- Closed