Project

General

Profile

Actions

Bug #1888

closed

xmera Omnia - Collection #1894: Bug fixing of several issues

Sorting of matrix field in issue query is not done by position

Added by liaham over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

Description

๐Ÿ› Thanks for taking the time to fill out this bug report! ๐Ÿ˜Š

What did you expect?

I expect to sort values of custom field format combination matrix by the position of the corresponding enumeration value.

What has happened instead?

The issue query orders the custom field by its values. Values of custom fields are always of type string. Therefore, numbers will be interpreted as text. That is, 11 will occur before 2.

What could be a possible solution?

Check out whether it is possible to order by the position of the corresponding enumeration value. This is already done for custom field format enumeration.

How can we reproduce the problem?

  1. Create a custom field of format combination matrix.
  2. Create more than 10 possible values.
  3. Create an issue for each possible value.
  4. Group these issues by the new custom field.
  5. Order the values by the new custom field.
  6. Look at the order of the groups which should follow the position number interpreted as text.

In what environment are you running the plugin?

Please copy and paste your environment information as displayed in Administration ยป Information or run bin/about in the root dir of your Redmine instance.

xmera Omnia 4.2.0

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari

Relevant log output

# Copy your log output (log/production.log) here
n/a
Actions

Also available in: Atom PDF