Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.On old installs with a lot of tasks in the history, the task list is not sorted properly. I would expect queued tasks to come up first. Instead, tasks that have finished recently are queued before tasks that were queued before that.... It is a little confusing, and I have trouble even describing it, but it seems to me we should have a sort criteria available in the view that would be the task status and filter on that first.










Comments
Comment #1
ergonlogicI believe the order should be:
Correct?
Comment #2
ergonlogicActually, come to think of it, I don't think that order makes much sense... They should probably just be sorted by when they were queued. In that case, it's just:
Node revision: Vid descComment #3
ergonlogicOh, I see, that doesn't work. Since the tasks are updated as their processed, the completed tasks' vid are updated, and so end up floating to the top of the list.
Comment #4
ergonlogicI have a partial solution in e3258c42, which I've since reverted. Basically, I added a Views sort handler, and while it appears to properly sort tasks flagged as 'queued' and 'processing', 'warning' or 'error' tasks sink to the bottom.
Comment #5
ergonlogicOk, fixed that in fdb4a44.