Opened 12 years ago
Closed 7 years ago
#9319 closed bug (fixed)
Ordering problems — at Version 8
Reported by: | dsjonny | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Tracker | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
I found 2 errors in the ordering:
As you can see the ordering is correct at the begining of the list, but if there are accentuated letters the soring is wrong.
Next I want to sort the list with the specific order, but I got another problem:
I need to add a "0" before the 1 char numbers. And finally, this would be the correct order:
I have no idea if this only a Tracker problem, or a system wide, and only for Hungarian or for another language too.
I hope it is correctable, and somebody can fix it.
Change History (11)
by , 12 years ago
by , 12 years ago
Attachment: | order1.png added |
---|
by , 12 years ago
Attachment: | order2.png added |
---|
follow-up: 3 comment:1 by , 12 years ago
Component: | - General → Applications/Tracker |
---|---|
Owner: | changed from | to
comment:2 by , 12 years ago
Version: | R1/alpha4.1 → R1/Development |
---|
follow-up: 4 comment:3 by , 12 years ago
Replying to anevilyak:
Tracker might not be using Locale for collation yet.
I'm sure that is the case here, but shouldn't Tracker's natural ordering sort the comment numbers right, even without the 0 prefix?
comment:4 by , 12 years ago
Replying to leavengood:
I'm sure that is the case here, but shouldn't Tracker's natural ordering sort the comment numbers right, even without the 0 prefix?
I'd need to look to be sure, but I believe the natural sorting is only used for file/folder names. Since the comment attribute in question is just a generic text attribute type, it's not necessarily obvious that natural sorting should always be used for it as opposed to lexicographic sort.
comment:5 by , 12 years ago
In this specific instance another alternative would be to add an integer attribute to the corresponding filetype and use that (i.e. how Audio:Track works), since Tracker would then use an integer sorting algorithm rather than a text-based one.
comment:6 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:8 by , 7 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Thanks for the update!
Tracker might not be using Locale for collation yet.