Skip to content
Permalink
Browse files

Named parameters

  • Loading branch information
m-kuhn committed Aug 23, 2018
1 parent 624ac70 commit 901effca01c3910d968dec7303e8615cdb0e61ff
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/core/expression/qgsexpressionfunction.cpp
@@ -4864,7 +4864,10 @@ bool QgsArrayForeachExpressionFunction::prepare( const QgsExpressionNodeFunction
}

QgsArrayFilterExpressionFunction::QgsArrayFilterExpressionFunction()
: QgsExpressionFunction( QStringLiteral( "array_filter" ), 2, QCoreApplication::tr( "Arrays" ) )
: QgsExpressionFunction( QStringLiteral( "array_filter" ), QgsExpressionFunction::ParameterList()
<< QgsExpressionFunction::Parameter( QStringLiteral( "array" ) )
<< QgsExpressionFunction::Parameter( QStringLiteral( "expression" ) ),
QCoreApplication::tr( "Arrays" ) )
{

}

0 comments on commit 901effc

Please sign in to comment.
You can’t perform that action at this time.