Skip to content
Permalink
Browse files

[Processing][Needs-docs] Allow optional "value" in "select by attribu…

…te" algorithm

because it's not needed to run null checks (fixes #19469 which is actually reported in the wrong way)
  • Loading branch information
DelazJ authored and nyalldawson committed Aug 29, 2018
1 parent e5e14dd commit 4e1d29ee241f53297ff2a332554154fd0ad27b73
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/algs/qgis/SelectByAttribute.py
@@ -106,7 +106,8 @@ def initAlgorithm(self, config=None):
self.addParameter(QgsProcessingParameterEnum(self.OPERATOR,
self.tr('Operator'), self.operators))
self.addParameter(QgsProcessingParameterString(self.VALUE,
self.tr('Value')))
self.tr('Value'),
optional=True))
self.addParameter(QgsProcessingParameterEnum(self.METHOD,
self.tr('Modify current selection by'),
self.methods,

0 comments on commit 4e1d29e

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