Skip to content
Permalink
Browse files

Fix critical regression in WFS provider (introduced with 5be0ee7). Fu…

…nded by Sourcepole QGIS Enterprise
  • Loading branch information
mhugent committed Oct 26, 2015
1 parent da5e73e commit a0a44f2b08394e640f9116c741d2bd70437154d2
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/providers/wfs/qgswfsfeatureiterator.cpp
@@ -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() );
}

0 comments on commit a0a44f2

Please sign in to comment.