Skip to content

Commit

Permalink
Fix critical regression in WFS provider (introduced with 5be0ee7). Fu…
Browse files Browse the repository at this point in the history
…nded by Sourcepole QGIS Enterprise
  • Loading branch information
mhugent committed Oct 26, 2015
1 parent da5e73e commit a0a44f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/providers/wfs/qgswfsfeatureiterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ QgsWFSFeatureIterator::QgsWFSFeatureIterator( QgsWFSFeatureSource* source, bool
{
mSelectedFeatures = mSource->mSpatialIndex->intersects( request.filterRect() );
}

if ( request.filterType() == QgsFeatureRequest::FilterFid )
else if ( request.filterType() == QgsFeatureRequest::FilterFid )
{
mSelectedFeatures.push_back( request.filterFid() );
}
Expand Down

0 comments on commit a0a44f2

Please sign in to comment.