Bug #1888
closedxmera Omnia - Collection #1894: Bug fixing of several issues
Sorting of matrix field in issue query is not done by position
100%
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?¶
- Create a custom field of format
combination matrix
. - Create more than 10 possible values.
- Create an issue for each possible value.
- Group these issues by the new custom field.
- Order the values by the new custom field.
- 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