-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Filters are very unstable #366
Comments
Can you provide the exact filter queries which don't work? And how you're executing them?
That's definitely a bug.
This is by design.
They are queriable through the API, otherwise the Frontend wouldn't be able to show tasks from filters. How are you querying them? |
Did you get an error message when passing the filter? Or does it just not contain the tasks you were expecting? |
There’s no errors. It displays all tasks witout a due date with those filters, but I noticed that sometimes when I do +2h it does include the ones with a due date. Perhaps it’s a timezone issue? |
Did you configure your time zone? |
I did, it’s on Europe/Amsterdam. Both the docker container and the profile. |
Does it change if you use the next two minutes? This might be related to the one minute window. |
I can confirm that this also happens if you do the same for days (f.e. "now+2d"). It seems like all items are included where the property is not set. I've encountered something similar with priority, where unset priorities are included when you do something like "priority > 2". I found a workaround for that using "priority in 3,4,5" but that's a bit complicated and definitely not working as intended. |
There is a checkbox below the filter to include or exclude tasks which do not have the property set, does that work for you? |
Oh. Thank you, that directly solved my problem. My setup was a saved filter with a couple of views to extend the filter logic. So I created the initial filter and didn't notice that the option was there. For the views with which I interacted the most, that option didn't exist. Now I'm wondering if other people also fail to notice the existence of that option and then think that some functionality is broken. Because my expected default behaviour would have been that unset properties are filtered out. Maybe that lack of attention and the mismatch of default behaviour and expectations leads to unnecessary confusion. Just some food for thought. Anyway, I greatly appreaciate the swift response. |
Description
There's a few things I've noticed with filters, both on the API and in the UI.
Are filters in active development right now? At the moment, it's not usable at all.
Vikunja Version
0.24.5
Browser and version
Safari MacOS & iOS
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
The text was updated successfully, but these errors were encountered: