Skip to content
Permalink
Browse files

Sort PostGIS layers by schema,table rather than table. Fixes issue #52.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5184 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Apr 6, 2006
1 parent 6278c92 commit 5d92175bf32f2b383c2df73f001b2c0eda4ed433
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsdbsourceselect.cpp
@@ -517,7 +517,7 @@ bool QgsDbSourceSelect::getGeometryColumnInfo(PGconn *pg,

QString sql = "select * from geometry_columns";
// where f_table_schema ='" + settings.readEntry(key + "/database") + "'";
sql += " order by f_table_name";
sql += " order by f_table_schema,f_table_name";
//qDebug("Fetching tables using: " + sql);
PGresult *result = PQexec(pg, sql.toLocal8Bit().data());
if (result)

0 comments on commit 5d92175

Please sign in to comment.
You can’t perform that action at this time.