go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
930 stars 63 forks source link

Unable to filter tasks by exclusive labels #127

Closed isogashiiman closed 6 months ago

isogashiiman commented 9 months ago

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

kolaente commented 9 months ago

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

kolaente commented 6 months ago

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.