Skip to content

Commit e137581

Browse files
committed
Prepare orderby in feature iterator
1 parent abd2607 commit e137581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsfeatureiterator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void QgsAbstractFeatureIterator::setupOrderBy( const QList<QgsFeatureRequest::Or
142142
QgsExpressionContext *expressionContext( mRequest.expressionContext() );
143143
do
144144
{
145-
orderByIt->expression().prepare( expressionContext );
145+
orderByIt->prepare( expressionContext );
146146
}
147147
while ( ++orderByIt != preparedOrderBys.end() );
148148

0 commit comments

Comments
 (0)