[QGIS-trac] [Quantum GIS] #1613: Attribut table sorting doesn't work properly with postgis layers

Quantum GIS qgis at qgis.org
Thu Apr 2 08:34:16 EDT 2009


#1613: Attribut table sorting doesn't work properly with postgis layers
------------------------------------------------+---------------------------
   Reporter:  cmoe                              |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.1.0
  Component:  Data Provider                     |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  RedHat                            |           Must_fix:  Yes          
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1613>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list