[QGIS-trac] Re: [Quantum GIS] #52: Change order of PostGIS Layer in
Layer select box
Quantum GIS
qgis at qgis.org
Thu Mar 26 17:55:56 EDT 2009
#52: Change order of PostGIS Layer in Layer select box
-----------------------------------------------------+----------------------
Reporter: horst.duester at bd.so.ch | Owner: gsherman
Type: enhancement | Status: reopened
Priority: major: does not work as expected | Milestone: Version 1.0.2
Component: GUI | Version: 1.0.0
Resolution: | Keywords:
Platform_version: | Platform: All
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Changes (by mwtoews):
* status: closed => reopened
* platform: RedHat => All
* version: 0.8 => 1.0.0
* resolution: fixed =>
* milestone: Version 0.8 => Version 1.0.2
Comment:
My projects use multiple geometry columns for each table, and I've noticed
the geometry column having different sortings.
So naturally, please update qgis/src/app/qgsdbsourceselect.cpp:
{{{
558c558
< "order by f_table_schema,f_table_name";
---
> "order by
f_table_schema,f_table_name,f_geometry_column";
}}}
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/52#comment:3>
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