obsidian-todoist-text
obsidian-todoist-text copied to clipboard
Keep task order from filter query
When populating tasks it would be nice to keep them in the order I have them in based on the filter.
For example, my primary filter in Todoist is overdue, ((@routine&!@Calendar&p1) & today),((!@routine* &!@Calendar) & today), ((@routine&!@Calendar&(p2|p3)) & today), ((@routine&!@Calendar&No priority) & today),@Calendar
.
However, when using this filter in Todoist Text, it does not keep them in that order.
While reviewing the REST API documentation for another issue, I found out that the comma operator is not supported when using the filter parameter in a single API call. The only way this would work is to look for the comma operator and split the filter into multiple API calls within the plugin itself, which I suspect is how that is implemented within the Todoist app itself in order to utilize that functionality.