+ Add Question

Filter Excluding label

DS

Hi

This works:

today & !@personal

But this returns no results, even though there are tasks with this label:

!@personal

It actually says:
-@personal
No tasks matches your query

All responses

David Trey  staff
Replied on Nov 26, 2013 - 12:47 UTC

Hello David,

Unfortunately, I can't reproduce this issue, this query seems to work correctly and shows tasks that are due today, but do not have the specified label.

Please tell me:
- What browser are you using?
- Is @personal the label you're looking for or are you searching for other labels and if so - does the label you search for have any special characters in its name?


Best regards,
David

DS
David Sowerby
Replied on Nov 26, 2013 - 15:43 UTC

Hi David

The label is just @Personal and works fine when filtering on the label

I reported slightly incorrectly the 7days & !@Personal doesn't work either; it just lists the days with no tasks, so I'm afraid that was misleading.

I just looked again and I realised I had projects defined which do not have the @Personal tag - but there were no tasks in the projects.

So I guess what I just learned is that filtering only works on tasks, not projects

David Trey  staff
Replied on Nov 26, 2013 - 21:18 UTC

David,

Indeed, you can only use filters with dates, priorities and labels, not project names, but we'll consider adding such option in the future.


Best regards,
David

Guillermo Beccaccini  premium
Replied on Jan 27, 2015 - 21:38 UTC

David, filtering by project is available?
Would be useful, for ex, to list all my pendings, excluding a project.
When I complete a task, but need someone (that is not using TDI) to confirm, I move it to a "Follow Up" project, and I'd want not to see such tasks in my list.
Thanks!

Brendon Wadey  staff
Replied on Jan 27, 2015 - 21:59 UTC

Guillermo,

Yes its now available using p:projectname.


Regards,
Brendon

Marcos  premium
Replied on Feb 17, 2015 - 12:26 UTC

Hi,

I just set a filter like 'p1 & !@label', but I still see one task with that label assigned. The task is with p1 (priority 1), but it shouldn't appear on the results.

I see -@label on the title, by the way.

Any ideas?

David Trey  staff
Replied on Feb 17, 2015 - 12:40 UTC

Hello Marcos,

Please try to go to the "Labels" list, right-click on this label, select "Edit", try to rename it (you can then change the name back to what it was) and see if it helps. Also, make sure there isn't a similar label with the same name, but just one task assigned to it. It could have an extra character (a space) in it.


Regards,
David

Marcos  premium
Replied on Feb 17, 2015 - 13:57 UTC

No differences.

The filter shows two tasks, both with priority 1. One of them has the @label asigned.

I can delete the '& !@label'... the result is the same.

It seems like the '!@label' doesn't affect at all the result.

David Trey  staff
Replied on Feb 17, 2015 - 13:59 UTC

Marcos,

Please let me know what's the exact name of this label. Does it contain any special characters?


Regards,
David

Marcos  premium
Replied on Feb 17, 2015 - 15:31 UTC

When you asked that I thought I realized what the problem is, but I was wrong.

The label name is @compras

so I thought the extra @ at the beginning could be the problem.

But the result is the same: I deleted that @ and still that action is visible.

The two tasks are from different projects.

Is it because I'm using a priority as part of the filter? I don't know.

David Trey  staff
Replied on Feb 17, 2015 - 15:34 UTC

Marcos,

Using priority is not a problem. So, to clarify, now you have renamed the label on the label list to "compras" and then typed:

p1 & !@compras

in the search box at the top and you still see items with this label on the list as separate elements that are not sub-tasks of a task that matches the search criteria?


Regards,
David

Marcos  premium
Replied on Feb 17, 2015 - 15:40 UTC

I just got it:

the @ has confused me. Reading again the filters help, I realize I just used one @, thinking it was part of the label name.

The first @ indicates that's a label, and then you insert the label name (in my case, a name containing an @).

My fault, sorry.

Thank you for your time.

Problem solved :-)