Custom numeric column bug in MantisHub?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Rob
Posts: 20
Joined: 25 Sep 2017, 09:59

Custom numeric column bug in MantisHub?

Post by Rob »

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.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Custom numeric column bug in MantisHub?

Post by atrol »

Please use Search before posting and read the Manual
Rob
Posts: 20
Joined: 25 Sep 2017, 09:59

Re: Custom numeric column bug in MantisHub?

Post by Rob »

Thanks atrol.

I don't think this is very minor as indicated in MantisBT. It's a bug that needs to get fixed sooner than later.

If a type is numeric and it does not sort according to the actual value, that's a major bug.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Custom numeric column bug in MantisHub?

Post by atrol »

Rob wrote:It's a bug that needs to get fixed sooner than later.
Be aware that MantisBT is a community project. Bugs are fixed if a community member invests the time to fix them. It seems there was no high priority as the issue is open since more than 11 years.
Please use Search before posting and read the Manual
Rob
Posts: 20
Joined: 25 Sep 2017, 09:59

Re: Custom numeric column bug in MantisHub?

Post by Rob »

Oh, I didn't know it was open source. That makes a difference as to when you can ask for something for sure. Just found another sorting bug with Category.
Post Reply