Skip to content

Commit 1e4d32f

Browse files
committed
[processing] Fix Select/Extract by Location algs with PostGIS layers
Fixes #18038 (cherry-picked from 1357a47)
1 parent 2189abc commit 1e4d32f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analysis/processing/qgsalgorithmextractbylocation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void QgsLocationBasedAlgorithm::process( const QgsProcessingContext &context, Qg
114114
QgsRectangle bbox = f.geometry().boundingBox();
115115
request = QgsFeatureRequest().setFilterRect( bbox );
116116
if ( onlyRequireTargetIds )
117-
request.setFlags( QgsFeatureRequest::NoGeometry ).setSubsetOfAttributes( QgsAttributeList() );
117+
request.setSubsetOfAttributes( QgsAttributeList() );
118118

119119
QgsFeatureIterator testFeatureIt = targetSource->getFeatures( request );
120120
QgsFeature testFeature;

0 commit comments

Comments
 (0)