You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The --find option only returns items containing the last search term.
The documentation seems to suggest you should be able to use multiple search terms.
To Reproduce
tb --task one two three
tb --find blah blah two
My Board [0/1]
10. [ ] one two three
tb --find two blah blah
(no results)
Expected behavior
I'm uncertain if find is supposed to require all search terms to be present or just require any one search term to be present.
If all search terms are required:
No results for both searches.
If only one search term is required:
Both searches should include the added task.
Technical Info (please complete the following information)
OS: Windows 10
Node.js Version: v10.8.0
Taskbook Version: 0.2.0
Additional context This line appears to check if the search term is the last one in the array, and only sets the result value to a truthy value if it is.
The text was updated successfully, but these errors were encountered:
Describe the bug
The --find option only returns items containing the last search term.
The documentation seems to suggest you should be able to use multiple search terms.
To Reproduce
Expected behavior
I'm uncertain if find is supposed to require all search terms to be present or just require any one search term to be present.
If all search terms are required:
If only one search term is required:
Technical Info (please complete the following information)
Additional context
This line appears to check if the search term is the last one in the array, and only sets the result value to a truthy value if it is.
The text was updated successfully, but these errors were encountered: