Skip to content
Permalink
Browse files

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

(cherry-picked from 2a57e77)
  • Loading branch information
nirvn authored and nyalldawson committed Aug 8, 2018
1 parent 6502dba commit 14540a956df874cbe815985801dd7054e34203ec
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 14540a9

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