percentDone gives an float64 error #754

Open
opened 2026-02-27 15:13:22 -05:00 by deekerman · 4 comments
Owner

Originally created by @Marck on GitHub (Jan 19, 2026).

Description

I have created a new view with the following syntax:

percentDone >= 70

Also tried with '70' and other comparisons, same error.

That gives not only no results (I have a task with a progress of 80%) but also gives the following internal server error:

time=2026-01-19T11:42:33.801+01:00 level=ERROR msg="Unknown search type for value 70 of type float64"
time=2026-01-19T11:42:33.802+01:00 level=ERROR msg="status: 400 response: {\"message\": \"Error with filter field `percent_done`: Not a float.\"}"

I cannot get the Internal server error on the demo site, but it could be that the errors are not shown to that frontend.

Vikunja Version

v1.0.0-rc3

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

Image Image
Originally created by @Marck on GitHub (Jan 19, 2026). ### Description I have created a new view with the following syntax: ``` percentDone >= 70 ``` Also tried with '70' and other comparisons, same error. That gives not only no results (I have a task with a progress of 80%) but also gives the following internal server error: ``` time=2026-01-19T11:42:33.801+01:00 level=ERROR msg="Unknown search type for value 70 of type float64" time=2026-01-19T11:42:33.802+01:00 level=ERROR msg="status: 400 response: {\"message\": \"Error with filter field `percent_done`: Not a float.\"}" ``` I cannot get the Internal server error on the demo site, but it could be that the errors are not shown to that frontend. ### Vikunja Version v1.0.0-rc3 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots <img width="620" height="422" alt="Image" src="https://github.com/user-attachments/assets/ed3012ba-9675-4c89-ae8f-ffb771809891" /> <img width="328" height="87" alt="Image" src="https://github.com/user-attachments/assets/55e26c47-7608-4185-942b-a16573ee5a10" />
Author
Owner

@kolaente commented on GitHub (Jan 20, 2026):

Does it work with the latest unstable build?

Are you using typesense?

@kolaente commented on GitHub (Jan 20, 2026): Does it work with the latest unstable build? Are you using typesense?
Author
Owner

@Marck commented on GitHub (Jan 21, 2026):

I havent tried that, good suggestion. I will check that and come back to you.

I am using typesense yes

@Marck commented on GitHub (Jan 21, 2026): I havent tried that, good suggestion. I will check that and come back to you. I am using typesense yes
Author
Owner

@kolaente commented on GitHub (Jan 24, 2026):

Does it work without typesense?

@kolaente commented on GitHub (Jan 24, 2026): Does it work without typesense?
Author
Owner

@Marck commented on GitHub (Feb 1, 2026):

@kolaente, I have confirmed the issue is gone when using the unstable tag and disabling typesense so that is good.

I do see that the view doesn't find any tasks with a progress 70% or more (also not on the demo site).
I created one with a progress of 90%

It could also be me misunderstanding the query.

@Marck commented on GitHub (Feb 1, 2026): @kolaente, I have confirmed the issue is gone when using the unstable tag and disabling typesense so that is good. I do see that the view doesn't find any tasks with a progress 70% or more (also not on the demo site). I created one with a progress of 90% It could also be me misunderstanding the query.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vikunja-go-vikunja#754
No description provided.