[GH-ISSUE #127] Unable to filter tasks by exclusive labels #5969

Closed
opened 2026-04-20 16:26:15 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @isogashiiman on GitHub (Dec 21, 2023).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/127

Description

When I am on a view with a task list,
Upon opening the 'Filters' modal and adding 2 labels, The search result displays all tasks with at least one of the 2 labels,
regardless of whether I select "Require all filters to be true for a task to show up" or not.

Expected result: Only tasks that have both labels should be shown,
or an explicit checkbox indicating whether the result is inclusive or exclusive.

I can provide screenshots to illustrate if needed. if this problem is in an inappropriate section, let me know and I'll report it to the api repo.

Vikunja Frontend Version

0.22.0+2-e98e5a0d2f

Vikunja API Version

v0.22.0+3-d952bedce0

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

Originally created by @isogashiiman on GitHub (Dec 21, 2023). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/127 ### Description When I am on a view with a task list, Upon opening the 'Filters' modal and adding 2 labels, **The search result displays all tasks with at least one of the 2 labels**, regardless of whether I select "_Require all filters to be true for a task to show up_" or not. Expected result: **Only tasks that have both labels should be shown**, or an explicit checkbox indicating whether the result is inclusive or exclusive. I can provide screenshots to illustrate if needed. if this problem is in an inappropriate section, let me know and I'll report it to the api repo. ### Vikunja Frontend Version 0.22.0+2-e98e5a0d2f ### Vikunja API Version v0.22.0+3-d952bedce0 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Dec 23, 2023):

I'm currently reworking how filters work in general. Once that's done this should not be a problem anymore.

<!-- gh-comment-id:1934161644 --> @kolaente commented on GitHub (Dec 23, 2023): I'm currently reworking how filters work in general. Once that's done this should not be a problem anymore.
Author
Owner

@kolaente commented on GitHub (Mar 10, 2024):

We now have query based filter logic in https://kolaente.dev/vikunja/vikunja/pulls/2177. Please check with the next unstable build if that fixes your problem.

<!-- gh-comment-id:1987202542 --> @kolaente commented on GitHub (Mar 10, 2024): We now have query based filter logic in https://kolaente.dev/vikunja/vikunja/pulls/2177. Please check with the next unstable build if that fixes your problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#5969