Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7d3fe69

Browse files
m-kuhn3nids
andauthoredDec 19, 2018
Update src/app/locator/qgsinbuiltlocatorfilters.cpp
Co-Authored-By: 3nids <denis.rouzaud@gmail.com>
1 parent 39cb453 commit 7d3fe69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/locator/qgsinbuiltlocatorfilters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ void QgsAllLayersFeaturesLocatorFilter::prepare( const QString &string, const Qg
365365
QString enhancedSearch = string;
366366
enhancedSearch.replace( ' ', '%' );
367367
req.setFilterExpression( QStringLiteral( "%1 ILIKE '%%2%'" )
368-
.arg( layer->displayExpression() )
368+
.arg( layer->displayExpression(), enhancedSearch ) );
369369
.arg( enhancedSearch ) );
370370
req.setLimit( 30 );
371371

0 commit comments

Comments
 (0)
Please sign in to comment.