tasks icon indicating copy to clipboard operation
tasks copied to clipboard

[Feature Request] Allow complex search queries

Open raimund-schluessler opened this issue 5 years ago • 6 comments

At the moment when a user types a string into the search input field, we search for this string in the summary, notes and categories.

I plan to implement to filter by certain properties, e.g. search for tags only. The query could look like "tags: Work, Accounting". This would also allow more complex queries filtering by more than one property like "tags: Work, priority: >5, due: >2019-12-24" or similiar.

raimund-schluessler avatar Jul 02 '19 15:07 raimund-schluessler

+1

ghost avatar May 08 '20 17:05 ghost

Plus, these queries would need to be savable as custom 'saved searches'.

davidszp avatar May 25 '20 18:05 davidszp

Plus, these queries would need to be savable as custom 'saved searches'.

The corresponding issue for this idea is #220.

raimund-schluessler avatar May 25 '20 19:05 raimund-schluessler

Any update on this ?

It would definitely allow any GTD users to use Nextcloud Task.

It would be awesome because believe it or not, there is no reliable webapp/desktop opensource GTD project syncing with a caldav server, with smart lists feature, AFAIK.

With the opensource Tasks.org on Android, it coud be a perfect match.

SamirSaidani avatar Jan 26 '21 18:01 SamirSaidani

I didn't realize it until now, but we can use the global search while looking at a task list to filter by tags. Just search for the tag name and it filters perfectly - no need to prepend anything like tag: <tag_name>

meichthys avatar Oct 20 '22 19:10 meichthys

This is true, however not as ideal solution as what is presented in the original post.

For example, I use tasks.org and have one label called "Reward" and another called "Rewardable". If I search for reward, it also brings up any task tagged as rewardable (as rewardable contains the string "reward").

It doesn't stop there though as if you're searching for reward, it isn't just going to bring up tasks labeled with that, but also any tasks that have the word reward elsewhere (eg in the description).

Unrelated: Is there any way to add a bounty to tasks here?

Bugsbane avatar Sep 10 '23 00:09 Bugsbane