Add an extra open and closing parenthesis token to `taskfilter_args`
to ensure that default filtering conditions are ANDed to the entire
user provided filter.
This commit is contained in:
Jake Waksbaum 2016-09-21 02:15:48 -04:00
parent 5572b4f359
commit 5df6a4c3bb

View file

@ -73,7 +73,9 @@ class ViewPort(object):
# Get the initial version of the taskfilter args
taskfilter_args = list(constants.DEFAULT_VIEWPORT_VIRTUAL_TAGS)
taskfilter_args += "("
taskfilter_args += util.tw_modstring_to_args(filterstring)
taskfilter_args += ")"
# Process syntactic sugar: Context expansion
detected_contexts = []