Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Default the ascending parameter of order_parts function to true
  • Loading branch information
DelazJ authored and nyalldawson committed May 9, 2021
1 parent fffcf66 commit 56f7a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -6976,7 +6976,7 @@ const QList<QgsExpressionFunction *> &QgsExpression::Functions()

QgsStaticExpressionFunction *orderPartsFunc = new QgsStaticExpressionFunction( QStringLiteral( "order_parts" ), QgsExpressionFunction::ParameterList() << QgsExpressionFunction::Parameter( QStringLiteral( "geometry" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "orderby" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "ascending" ) ),
<< QgsExpressionFunction::Parameter( QStringLiteral( "ascending" ), true, true ),
fcnOrderParts, QStringLiteral( "GeometryGroup" ), QString() );

orderPartsFunc->setIsStaticFunction(
Expand Down

0 comments on commit 56f7a47

Please sign in to comment.