Skip to content
Permalink
Browse files

search case-insensitive for authorities

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13145 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 23, 2010
1 parent 0add364 commit 81e7b29a81e49b42ad3f12361815cf50f2ecf3e5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsprojectionselector.cpp
@@ -206,7 +206,7 @@ void QgsProjectionSelector::showEvent( QShowEvent * theEvent )
pbnPopular4->show();
}

// Pass up the inheritance heirarchy
// Pass up the inheritance hierarchy
QWidget::showEvent( theEvent );
}

@@ -256,7 +256,7 @@ QString QgsProjectionSelector::ogcWmsCrsFilterAsSqlExpression( QSet<QString> * c
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( "','" ) );

0 comments on commit 81e7b29

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