Defect #7496

"Custom queries" should use natural ordering

Added by Alex Cartwright about 9 years ago. Updated 9 months ago.

Status:NewStart date:2011-01-31
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:-
Resolution: Affected version:

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

History

#1 Updated by Go MAEDA about 3 years ago

  • Category set to UI

#2 Updated by Hans Kaiser almost 2 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

#3 Updated by Rembert Oldenboom about 1 year 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).

#4 Updated by Heiko Böhme 9 months ago

+1

Also available in: Atom PDF