Skip to content
Permalink
Browse files

[processing] allow geometryless layer input for order by expression alg

  • Loading branch information
nirvn committed Aug 4, 2018
1 parent 9db2022 commit 2a57e779e803428b71628e1da270f970e74655df
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/processing/qgsalgorithmorderbyexpression.cpp
@@ -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 ) );

0 comments on commit 2a57e77

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