Bug report #1366
table sort order incorrect
|Affected QGIS version:||
|Pull Request or Patch supplied:||
|Crashes QGIS or corrupts data:||
||Copied to github as #:||11426
The order of sorting for GRASS tables when clicking on the column header is incorrect (see attached png)
Paolo, was "area" a numeric column? If yes, probably string sorting is wrongly used here.
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 ".")
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?
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
- Status changed from Open to Closed
- Resolution set to fixed
Milestone Version 1.0.0 deleted
Also available in: Atom