Skip to content

Commit

Permalink
[Processing][Needs-docs] Allow optional "value" in "select by attribu…
Browse files Browse the repository at this point in the history
…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 4e1d29e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/qgis/SelectByAttribute.py
Expand Up @@ -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,
Expand Down

0 comments on commit 4e1d29e

Please sign in to comment.