Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Mar 23, 2010
1 parent 0add364 commit 81e7b29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsprojectionselector.cpp
Expand Up @@ -206,7 +206,7 @@ void QgsProjectionSelector::showEvent( QShowEvent * theEvent )
pbnPopular4->show();
}

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

Expand Down Expand Up @@ -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( "','" ) );
Expand Down

0 comments on commit 81e7b29

Please sign in to comment.