Defect #7496
open![Author: Anonymous](/images/anonymous.png?1679302129)
"Custom queries" should use natural ordering
0%
Description
The custom queries are currently sorted, but instead it would be better to use natural sorting so that numbers get ordered correctly, what I mean by this is that currently this is how Redmine displays custom queries:
- 1. Foo
- 10. Bar
- 2. Car
When using natural ordering, it should appear as:
- 1. Foo
- 2. Car
- 10. Bar
Updated by Hans Kaiser about 6 years ago
I would rather prefer to have a configurable sorting for each query
also it would be great to be able to add separators in the list of queries to be able to optically group them
Updated by Rembert Oldenboom over 5 years ago
The natural order doesn't appeal to me, I like as it is. With my custom queries I just start at 10 but one could opt to start at 01 or even 00.
I'd like to see this issue solved another way, by having a sequence-field with all custom queries. The custom queries will then be listed in order of this sequence field. For those custom queries having the same sequence field, then the current ordering is used (same for queries not having a sequence field provided).