Skip to content

Commit

Permalink
[processing] allow geometryless layer input for order by expression alg
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Aug 4, 2018
1 parent 9db2022 commit 2a57e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmorderbyexpression.cpp
Expand Up @@ -49,7 +49,7 @@ QString QgsOrderByExpressionAlgorithm::groupId() const

void QgsOrderByExpressionAlgorithm::initAlgorithm( const QVariantMap & )
{
addParameter( new QgsProcessingParameterFeatureSource( QStringLiteral( "INPUT" ), QObject::tr( "Input layer" ) ) );
addParameter( new QgsProcessingParameterFeatureSource( QStringLiteral( "INPUT" ), QObject::tr( "Input layer" ), QList< int >() << QgsProcessing::TypeVector ) );
addParameter( new QgsProcessingParameterExpression( QStringLiteral( "EXPRESSION" ), QObject::tr( "Expression" ), QVariant(), QStringLiteral( "INPUT" ) ) );
addParameter( new QgsProcessingParameterBoolean( QStringLiteral( "ASCENDING" ), QObject::tr( "Ascending" ), true ) );
addParameter( new QgsProcessingParameterBoolean( QStringLiteral( "NULLS_FIRST" ), QObject::tr( "Nulls first" ), false ) );
Expand Down

0 comments on commit 2a57e77

Please sign in to comment.