Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "Filter Precedence" page explanation of grouping of report and CLI filters #876

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sebastiancarlos
Copy link
Contributor

The documentation originally reported that parenthesis should be used to group CLI filters and report filters properly, but this is not the case.

Particularly, the docs used to say that:

$ task project:Home or project:Garden list

is interpreted as:

status:pending and project:Home or project:Garden

instead of:

status:pending and (project:Home or project:Garden)

However, that's not the case. This can be shown by running:

$ task rc.verbose=yes rc.report.ls.filter="status:pending" project:Home or project:Garden ls
...
Filter: ( status = pending ) and ( project = Home or project = Garden )
...

Because of this, the documentation was updated. Also, another example was used to continue explaining the use of parentheses.

…I filters

The documentation originally reported that parenthesis should be used to
group CLI filters and report filters properly, but this is not the case.

Particularly, the docs used to say that:

```bash
$ task project:Home or project:Garden list
```

is interpreted as:

`status:pending and project:Home or project:Garden`

instead of:

`status:pending and (project:Home or project:Garden)`

However, that's not the case. This can be shown by running:

```bash
$ task rc.verbose=yes rc.report.ls.filter="status:pending" project:Home or project:Garden ls
...
Filter: ( status = pending ) and ( project = Home or project = Garden )
...
```

Because of this, the documentation was updated. Also, another example
was used to continue explaining the use of parentheses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant