Query parameters filter_by and filter_value are ignored #2346
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
It looks like in the unstable version filtering tasks per query parameter does not work anymore.
In 0.23.0 stable the following statement yields only tasks with
done=false
. In the current version bothfalse
andtrue
are delivered.The query seems to be valid according to https://try.vikunja.io/api/v1/docs#tag/task/paths/
1tasks1all/getThis filter is used in vja to exclude done tasks by default.
Vikunja Version
unstable Version: v0.23.0+680-0bb4a5a2b2
Browser and version
curl
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
No response
This is intended behaviour. The old filter mechanism was replaced by a filter query syntax. It looks like the docs for the tasks endpoint were outdated, I've fixed that in
1843f1d0d8
.You can also check the docs for the tasks per project endpoint, they use the same logic under the hood: https://try.vikunja.io/api/v1/docs#tag/task/paths/
1projects1%7Bid%7D1views1%7Bview%7D~1tasks/get