Using any number in filter creation inserts tag

Hello,
I recently set up Vikunja and am hoping it’s the tool I’m looking for. So far it’s been pretty great, but I can’t figure out what is going on. I have created tags for how long I think a task will take so if I have some downtime I can pick a 1 hour project for instance. My tags are 1_hour, 2_hour, 1_day, etc. When I try to create a saved filter using those labels as soon as I type 1 (or any number for that matter) the label changes to ANOTHER existing label. If I by chance DO get the right label to appear, if I do anything else like close a parenthesis or click in another spot it then again changes that tag. I feel like I’m missing something here but I don’t know what. Any help would be greatly appreciated.

Welcome! :waving_hand:

This might be related to the way the filter query is parsed. Can you reproduce this on try?

Sure can. It is reproducible. I created a few labels - 1_hour, 1-2_hour, and 1_day. If I try and make a new saved filter, leave the done = false and add && labels = 1 it then immediately fills in “label” before I can type anything additional. Guessing here - but it seems like entering ANY digit pulls in the label associated with that ID# in the back end database. If I type 1 I get label, 2 I get 1-2_hours, etc.

Is this reproducible in a project view as well? (using the filter button on the top right)

Yes, the same thing happens. It replaces the number with a different label. I tried enclosing it in single and double quotes as well, it still replaces the digit with a different label

Was able to reproduce as well, will look into a fix.

1 Like