Bug report #1613
Attribut table sorting doesn't work properly with postgis layers
|Affected QGIS version:||Regression?:||No|
|Operating System:||RedHat||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||11673|
Sorting an attribute table of a postgis layer doesn't work properly.
1. load an postgis layer
2. open the attribute table
3. try to sort a column
some columns sort properly, some will not sort at all, an some will show an error in every field
of the table.
It seems, that the behaviour depends on the postion of the column relativ to geometry column. If the column to sort is before the geometry column it works as expected, if it is after the geometry the column will not be sorted. If it is the column right after the geometry, all fields of the table will show an error.