Skip to content
Permalink
Browse files

Update src/app/locator/qgsinbuiltlocatorfilters.cpp

Co-Authored-By: 3nids <denis.rouzaud@gmail.com>
  • Loading branch information
m-kuhn and 3nids committed Dec 19, 2018
1 parent 39cb453 commit 7d3fe696d97d408c0915f632c92e86e6716e106d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/locator/qgsinbuiltlocatorfilters.cpp
@@ -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 );

0 comments on commit 7d3fe69

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