#1366 closed bug (fixed)
table sort order incorrect
Reported by: | pcav | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | Vectors | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
The order of sorting for GRASS tables when clicking on the column header is incorrect (see attached png)
Attachments (1)
Change History (7)
by , 16 years ago
comment:1 by , 15 years ago
Must Fix for Release: | No → Yes |
---|---|
Priority: | minor: annoyance or enhancement → major: does not work as expected |
comment:2 by , 15 years ago
Yes, it was numeric, whereas the order appears string-based. I guess it might have to do with commas ("," is used for decimals in our locale, whereas grass tables show a ".")
comment:3 by , 15 years ago
I do remember a similar bug in QGIS fixed 1-2 years ago. If the comma is the issue, then the data should be mapped to C Locale first, then sorted.
Can you try to run QGIS in English locale and see if it works?
comment:4 by , 15 years ago
Component: | GRASS → Vectors |
---|
It is not working for double and real fields, even if LANG=C. It appears a general problem, as it appears for shp layers too
Paolo, was "area" a numeric column? If yes, probably string sorting is wrongly used here.