Skip to content

Commit

Permalink
Allow LIKE operator in QGIS mapserver's GetFeatureInfo search request…
Browse files Browse the repository at this point in the history
… (FILTER parameter)
  • Loading branch information
Marcel Dancak committed Feb 21, 2014
1 parent 98401dc commit ddc0f87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapserver/qgswmsserver.cpp
Expand Up @@ -2000,6 +2000,7 @@ bool QgsWMSServer::testFilterStringSafety( const QString& filter ) const
|| tokenIt->compare( "AND", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "OR", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "IN", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "LIKE", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "DMETAPHONE", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "SOUNDEX", Qt::CaseInsensitive ) == 0 )
{
Expand Down

0 comments on commit ddc0f87

Please sign in to comment.