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)

(cherry picked from commit 4e1d29e)
  • Loading branch information
DelazJ authored and nyalldawson committed Aug 31, 2018
1 parent c9442a9 commit 4d6211d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/qgis/SelectByAttribute.py
Original file line number Diff line number Diff line change
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 4d6211d

Please sign in to comment.