taskbook icon indicating copy to clipboard operation
taskbook copied to clipboard

Filter by priority

Open seconddayout opened this issue 5 years ago • 1 comments

As the app is, it seems one cannot filter the results of tb -l by priority level.

I'd expected to be able to do the following:

  • tb -l p:3 to get all tasks with a priority level of 3 across all boards
  • tb -l p:<3 to get all tasks with a priority level of less that 3 (1s and 2s) across all boards
  • tb -l p:>1 to get all tasks with a priority level of greater than 1 (2s and 3s) across all boards
  • tb -l p:2,3 same as above
  • tb -l p:2 p:3 same as above
  • tb -l p:1,3 to get all tasks with a priority level of 1 or 3 across all boards
  • tb -l p:1 p:3 same as above

seconddayout avatar Mar 26 '19 17:03 seconddayout

I have PR to filter by priority. But can handle equal cases, tb -l p:<priority>. For more information, please checkout on this PR #136 .

runyasak avatar Mar 27 '19 10:03 runyasak