Skip to content

Commit

Permalink
Named parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 23, 2018
1 parent 624ac70 commit 901effc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -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" ) )
{

}
Expand Down

0 comments on commit 901effc

Please sign in to comment.