Skip to content
Permalink
Browse files
Merge pull request #42771 from rldhont/server-feature-id-combine-expr…
…ession

[Server] QgsServerFeatureId use combine expression in update feature request
  • Loading branch information
elpaso authored and github-actions committed Apr 15, 2021
1 parent 8993604 commit f6bd0e51e7dba64e6da714c44f82fbbecd727aed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/server/qgsserverfeatureid.cpp
@@ -59,7 +59,7 @@ QgsFeatureRequest QgsServerFeatureId::updateFeatureRequestFromServerFids( QgsFea

if ( expList.count() == 1 )
{
featureRequest.setFilterExpression( expList.at( 0 ) );
featureRequest.combineFilterExpression( expList.at( 0 ) );
}
else
{
@@ -74,7 +74,7 @@ QgsFeatureRequest QgsServerFeatureId::updateFeatureRequestFromServerFids( QgsFea
fullExpression.append( exp );
fullExpression.append( QStringLiteral( " )" ) );
}
featureRequest.setFilterExpression( fullExpression );
featureRequest.combineFilterExpression( fullExpression );
}

return featureRequest;

0 comments on commit f6bd0e5

Please sign in to comment.