Skip to content

Commit

Permalink
Update src/app/locator/qgsinbuiltlocatorfilters.cpp
Browse files Browse the repository at this point in the history
Co-Authored-By: 3nids <denis.rouzaud@gmail.com>
  • Loading branch information
m-kuhn and 3nids committed Dec 19, 2018
1 parent 39cb453 commit 7d3fe69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/locator/qgsinbuiltlocatorfilters.cpp
Expand Up @@ -365,7 +365,7 @@ void QgsAllLayersFeaturesLocatorFilter::prepare( const QString &string, const Qg
QString enhancedSearch = string;
enhancedSearch.replace( ' ', '%' );
req.setFilterExpression( QStringLiteral( "%1 ILIKE '%%2%'" )
.arg( layer->displayExpression() )
.arg( layer->displayExpression(), enhancedSearch ) );
.arg( enhancedSearch ) );
req.setLimit( 30 );

Expand Down

0 comments on commit 7d3fe69

Please sign in to comment.