Skip to content

Commit 498cb41

Browse files
author
jef
committedMar 23, 2010
search case-insensitive for authorities
git-svn-id: http://svn.osgeo.org/qgis/trunk@13145 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ab92ed6 commit 498cb41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/gui/qgsprojectionselector.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void QgsProjectionSelector::showEvent( QShowEvent * theEvent )
206206
pbnPopular4->show();
207207
}
208208

209-
// Pass up the inheritance heirarchy
209+
// Pass up the inheritance hierarchy
210210
QWidget::showEvent( theEvent );
211211
}
212212

@@ -256,7 +256,7 @@ QString QgsProjectionSelector::ogcWmsCrsFilterAsSqlExpression( QSet<QString> * c
256256
QString prefix = " AND (";
257257
foreach( QString auth_name, authParts.keys() )
258258
{
259-
sqlExpression += QString( "%1(auth_name='%2' AND auth_id IN ('%3'))" )
259+
sqlExpression += QString( "%1(lower(auth_name)=lower('%2') AND auth_id IN ('%3'))" )
260260
.arg( prefix )
261261
.arg( auth_name )
262262
.arg( authParts[auth_name].join( "','" ) );

0 commit comments

Comments
 (0)
Please sign in to comment.