GothenburgBitFactory / GothenburgBitFactory/taskwarrior

[TW-1915] Filter combinations do not work

Open
#1,928 1 comment 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

_Florian on 2017-06-12T13:27:40Z says:_

Create the following tasks:

`$ task log project:A item1`
`$ task log project:B item2`
`$ task add project:A item3`
`$ task add project:B item4`

I expect all of the following filters to be equivalent. The following filters work and yield item3 and item4:

`$ task status:pending "(project:A or project:B)" all`
`$ task status:pending "( project:A or project:B )" all`
`$ task status:pending '(project:A or project:B)' all`
`$ task status:pending BACKSLASH( project:A or project:B BACKSLASH) all`
`$ task "(project:A or project:B) and status:pending" all`

The following filters do not work and yield »No matches«:

`$ task "status:pending and (project:A or project:B)" all`
`$ task 'status:pending and (project:A or project:B)' all`
`$ task "status:pending and ( project:A or project:B )" all`

A non-working example »`status:pending and (project:Home or project:Garden)`« is listed in [https://taskwarrior.org/docs/filter.html]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.