-
Notifications
You must be signed in to change notification settings - Fork 73
api.state['day_orders'] broken? #90
Comments
I just found it in the docs! The To list:
That also explains why the reordering must be done separately as well:
(Source: docs) |
Good find @6uhrmittag, it sounds like according to the docs this is what I would need Taking this further Have you tested this yourself? Does it work as you would expect? I'm either missing an important way of how |
Viewing the order, yes:
After reordering the tasks in the web app, the numbers change. But! The the ordering-function itself is somewhat broken, which makes the ordering values unpredictable (for me).
(Source: https://get.todoist.help/hc/en-us/articles/360017135159-How-to-sort-your-tasks) It has also been mentioned multiple times in reddit.com/r/todoist.
I think this is because there can be overdue items in the today view as well. Again, probably a weird logic in the clients... ... so, I guess viewing the values works. But working with it isn't intuitive right now. |
We're having two separate issues. I can't even get the results of
|
I think so. Or not fully finished. The sorting is relatively new and the last commit to this repo is 3 month old... I just want to add one last observation I've made: If I add a new task directly to my "today view" and manually put it somewhere other then the bottom:
... I hope for others to bring light to this behavior |
Hello, @silentjay and @6uhrmittag 👋 Caio here. I'm a Doist developer.
Yes. This is correct.
If I understood correctly, you are sorting your Today view with the recent released sort and grouping options. If so, this sort and grouping options do not affect tasks day order attribute. The fact your tasks return with
This looks like a misbehavior. I'll further check it. |
My understanding from the docs is that
item.day_order
returns an integer of where a task sits in the queue in relation to other tasks in the Today view. However in my case where i'm using a custom sort for the web apps Today view the tasksday_order
always return-1
. I've tried changing the sort type in the web app but still I get-1
returned for all my tasks.Am I missing a big piece of the puzzle here? Am I misunderstanding the true nature of
day_order
?The text was updated successfully, but these errors were encountered: