Skip to content
Permalink
Browse files

Merge pull request #42801 from qgis/backport-42771-to-release-3_16

[Backport release-3_16] [Server] QgsServerFeatureId use combine expression in update feature request
  • Loading branch information
elpaso committed Apr 17, 2021
2 parents bfd36fd + f6bd0e5 commit 524bfe94a541dfd0a680929b4fcad86da4892e98
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 524bfe9

Please sign in to comment.