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

Commits on Jun 30, 2024

  1. Fix "Filter Precedence" page explanation of grouping of report and CL…

    …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.
    Sebastian Carlos committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    7a50965 View commit details
    Browse the repository at this point in the history