Custom numeric column bug in MantisHub?
Posted: 25 Sep 2017, 10:27
We setup a custom column with a type of numeric. When looking at views, we see it is being sorted incorrectly:
1
2
20
21
22
3
4
I had to apply a regular expression, "^0+", and then enter the values with leading 0's to workaround the issue but I should not have to do that. The column should be sorting correctly without adding the leading zeros and applying the regular expression.
1
2
20
21
22
3
4
I had to apply a regular expression, "^0+", and then enter the values with leading 0's to workaround the issue but I should not have to do that. The column should be sorting correctly without adding the leading zeros and applying the regular expression.