Replies: 3 comments 2 replies
-
The same happens when grouping tasks. It would be great if one can put fields with |
Beta Was this translation helpful? Give feedback.
-
Task grouping is incoming (mainly an update to the DataArray and dv.taskList APIs to match so that For customizing null behavior beyond what it does by default (I think null always is at the beginning currently?), I'll likely need to add a little more functionality to sorts to allow for |
Beta Was this translation helpful? Give feedback.
-
As an aside to this, while the task improvements are coming in 0.4.23, nulls/undefined are also sorted at the end by default instead of the beginning now, which is probably slightly more useful default behavior. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have defined some inline fields for managing tasks with Dataview. On the other hand, some tasks do not have such fields, meaning that their values would be
null
for those fields.In Dataview, one can sort tasks with something like
sort p asc
. In this case, how to show tasks that have no priority at the bottom?I found something like the following for handing things like this for sorting ordinary notes, I suppose:
.sort(i => [i.prio, i.due ?? dv.date("3000-01-01")])
from #456Considering this, a few other related questions would be:
sort p asc
andgroup by p
.null
priority at the bottom?Beta Was this translation helpful? Give feedback.
All reactions