Bug report #1366
table sort order incorrect
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | Vectors | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | All | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | fixed | |
Crashes QGIS or corrupts data: | Copied to github as #: | 11426 |
Description
The order of sorting for GRASS tables when clicking on the column header is incorrect (see attached png)
Associated revisions
[TRANSUP] uk fixes #1366
Signed-off-by: Werner Macho <[email protected]>
History
#1 Updated by Markus Neteler almost 16 years ago
Paolo, was "area" a numeric column? If yes, probably string sorting is wrongly used here.
#2 Updated by Paolo Cavallini almost 16 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 ".")
#3 Updated by Markus Neteler almost 16 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?
#4 Updated by Paolo Cavallini almost 16 years ago
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
#5 Updated by Marco Hugentobler almost 16 years ago
- Status changed from Open to Closed
- Resolution set to fixed
Fixed in
Marco
#6 Updated by Anonymous about 15 years ago
Milestone Version 1.0.0 deleted