[QGIS Commit] r13145 - trunk/qgis/src/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Mar 23 11:29:57 EDT 2010


Author: jef
Date: 2010-03-23 11:29:56 -0400 (Tue, 23 Mar 2010)
New Revision: 13145

Modified:
   trunk/qgis/src/gui/qgsprojectionselector.cpp
Log:
search case-insensitive for authorities

Modified: trunk/qgis/src/gui/qgsprojectionselector.cpp
===================================================================
--- trunk/qgis/src/gui/qgsprojectionselector.cpp	2010-03-23 08:04:14 UTC (rev 13144)
+++ trunk/qgis/src/gui/qgsprojectionselector.cpp	2010-03-23 15:29:56 UTC (rev 13145)
@@ -206,7 +206,7 @@
     pbnPopular4->show();
   }
 
-  // Pass up the inheritance heirarchy
+  // Pass up the inheritance hierarchy
   QWidget::showEvent( theEvent );
 }
 
@@ -256,7 +256,7 @@
     QString prefix = " AND (";
     foreach( QString auth_name, authParts.keys() )
     {
-      sqlExpression += QString( "%1(auth_name='%2' AND auth_id IN ('%3'))" )
+      sqlExpression += QString( "%1(lower(auth_name)=lower('%2') AND auth_id IN ('%3'))" )
                         .arg( prefix )
                         .arg( auth_name )
                         .arg( authParts[auth_name].join( "','" ) );



More information about the QGIS-commit mailing list