mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
Fix #101
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:
parent
5572b4f359
commit
5df6a4c3bb
1 changed files with 2 additions and 0 deletions
|
@ -73,7 +73,9 @@ class ViewPort(object):
|
||||||
|
|
||||||
# Get the initial version of the taskfilter args
|
# Get the initial version of the taskfilter args
|
||||||
taskfilter_args = list(constants.DEFAULT_VIEWPORT_VIRTUAL_TAGS)
|
taskfilter_args = list(constants.DEFAULT_VIEWPORT_VIRTUAL_TAGS)
|
||||||
|
taskfilter_args += "("
|
||||||
taskfilter_args += util.tw_modstring_to_args(filterstring)
|
taskfilter_args += util.tw_modstring_to_args(filterstring)
|
||||||
|
taskfilter_args += ")"
|
||||||
|
|
||||||
# Process syntactic sugar: Context expansion
|
# Process syntactic sugar: Context expansion
|
||||||
detected_contexts = []
|
detected_contexts = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue