We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 65db7fb commit 2c7378bCopy full SHA for 2c7378b
src/core/qgsexpression.cpp
@@ -2414,7 +2414,7 @@ QString QgsExpression::NodeBinaryOperator::dump() const
2414
QString fmt;
2415
fmt += lOp && lOp->precedence() < precedence() ? "(%1)" : "%1";
2416
fmt += " %2 ";
2417
- fmt += rOp && rOp->precedence() < precedence() ? "(%3)" : "%3";
+ fmt += rOp && rOp->precedence() <= precedence() ? "(%3)" : "%3";
2418
2419
return fmt.arg( mOpLeft->dump() ).arg( BinaryOperatorText[mOp] ).arg( mOpRight->dump() );
2420
}
0 commit comments