Skip to content
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

Incorrect query interpretation #242

Open
eiffair opened this issue Jul 26, 2023 · 4 comments
Open

Incorrect query interpretation #242

eiffair opened this issue Jul 26, 2023 · 4 comments
Labels
🐛 bug Something isn't working

Comments

@eiffair
Copy link

eiffair commented Jul 26, 2023

Describe the bug
Hi,

I used to have this query working perfectly until recently (sorry don't remember which update broke it):

{
"name": "Focus",
"filter": "(overdue | today) | (P1 | P2 | P3)",
"sorting": ["priority", "date"]
}

It is a copy of the query in Todoist which is fine in Todoist.
In Obsidian it now shows all the tasks with a due date regardless of priority.

Desktop (please complete the following information):

  • Plugin Version : 1.11.1
  • Obsidian Version 1.3.7

Thanks for your help.
Fred

@eiffair eiffair added the 🐛 bug Something isn't working label Jul 26, 2023
@jamiebrynes7
Copy link
Owner

@eiffair are you still seeing this?

The fact that is was working and then wasn't working makes me thing it might be a bug on Todoist's end. I don't really do any post-processing on the filter string before sending it to Todoist.

@tdanner
Copy link

tdanner commented Sep 10, 2023

I noticed something similar today. (Might have started a few days ago, but probably not more than a week ago.) I use a really simple filter: today | overdue | no date. In Todoist proper, this works as expected, but like in @eiffair's case, it is now showing all tasks with a due date, including recurring tasks whose next due date is in the future and non-recurring tasks with a future due date.

I agree that this seems like it must be an issue on Todoist's end, since nothing has changed in this plugin.

Interestingly, if I use the filter today | overdue I get identical results (modulo sorting) in Todoist and obsidian-todoist-plugin.

@JanaDeppe
Copy link

I have the same issue, had a filter "today | @✨focus" that used to work fine, and still works fine in Todoist itself.

Now, within Obsidian, the "|" seems to be the cause for fetching all tasks with a due date AND the emoji in the label causes it to not fetch any tasks, at all.

My current workaround: removed the emoji, have two separate blocks/queries for today and @Focus.

@reesehopkins
Copy link

Same issue with this query: (today | overdue) | (p1 & @next)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants