Project

General

Profile

Actions

Defect #7496

open

"Custom queries" should use natural ordering

Defect #7496: "Custom queries" should use natural ordering

Added by Anonymous almost 16 years ago. Updated 22 days ago.

Status:
New
Priority:
Normal
Assignee:
-
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

Updated by Go MAEDA over 9 years ago Actions #1

  • Category set to UI

Updated by Hans Kaiser over 8 years ago Actions #2

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 7 years ago Actions #3

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).

Updated by Heiko Böhme over 7 years ago Actions #4

+1

Updated by Florian Walchshofer 22 days ago Actions #5

This works as designed (queries are ordered by name), so this should be a feature request rather than a defect.

Workaround: use leading zeros (01, 02, ... 10).

Actions

Also available in: PDF Atom