Skip to content

Commit

Permalink
made fid request prior to expression request
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 committed Mar 19, 2020
1 parent 2053cb5 commit 9b02ea3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/providers/wfs/qgsbackgroundcachedfeatureiterator.cpp
Expand Up @@ -269,8 +269,7 @@ QgsBackgroundCachedFeatureIterator::QgsBackgroundCachedFeatureIterator(
// backup current request because combine filter expression will remove the fid(s) filtering
if ( mRequest.filterType() == QgsFeatureRequest::FilterFid || mRequest.filterType() == QgsFeatureRequest::FilterFids )
{
mAdditionalRequest = mRequest;
mRequest = QgsFeatureRequest( shared->clientSideFilterExpression() );
mAdditionalRequest = QgsFeatureRequest( shared->clientSideFilterExpression() );
}
else
{
Expand Down

0 comments on commit 9b02ea3

Please sign in to comment.