New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Filtering Lists #182
Comments
Can you reproduce this on try? |
Then it's probably already fixed in unstable.
It should, when did you last upgrade?
That sounds like another bug. I'll take a look. |
Filtering seems to be solved. Just updated. works. The small bug is still there (in my installation: selected person disappers like if no one is selected, but filter works)... |
I confirm |
The cause of this problem is a little complicated and has two parts. In the frontend, the bug occurs because the filter value changes after a user was selected. This triggers a rebuild of all filter values which for the assignee filter means a search request to get the full name etc of the user. BUT the assignee filter only stores user ids and the user search endpoint does not handle those (to prevent usernames leaking by just increasing the id). Therefore, the search returns no results and the user disappears. The filter component does this to show the correct values if the filter changed from the outside (aka was just loaded). The other problem is the mentioned filter search: Because we can't lookup user IDs we should ideally save usernames. They are unique and relatively un-guessable (no enumeration possible). If we save usernames instead of IDs we'll need to change the filter logic so that it is able to search by username instead of ID. Possible. but a breaking change. |
Filtering by asignee works great in list view but not in kanban, it always returns an empty list. |
Filters are not supported for kanban right now. |
Do you mean "Filters are not supported for kanban" only for assignee field? Because the rest of fields work great when filtering in kanban view: labels, priority, progress, etc. |
I mean you can't filter by Kanban buckets or view a saved filter in Kanban view. |
This has been fixed in the meantime. |
Using the "filter" button in list view, I can filter "assignees" (small bug: When selecting a person, you can see the selected person a couple of millisecons, then the field is empty again, but the filter works).
Using the "new saved filter" setting in namespaces/lists, filtering with an assignee always returns an empty list.
Small workflow improvement: it would be great if filters in list view could be saved ("save this filter").
The text was updated successfully, but these errors were encountered: