You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Queries/Grouping.md
+50-50Lines changed: 50 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,28 +23,28 @@ For more information, including adding your own customised statuses, see [[Statu
23
23
24
24
### Status
25
25
26
-
1.`status` (Done or Todo, which is capitalized for visibility in the headings)
27
-
- Note that the Done group is displayed before the Todo group,
26
+
-`group by status` (Done or Todo, which is capitalized for visibility in the headings)
27
+
- Note that the Done group is displayed before the Todo group,
28
28
which differs from the Sorting ordering of this property.
29
29
30
30
### Status Name
31
31
32
-
1.`status.name`
33
-
- This groups by the names you give to your custom statuses, in alphabetical order.
32
+
-`group by status.name`
33
+
- This groups by the names you give to your custom statuses, in alphabetical order.
34
34
35
35
> [!released]
36
36
`group by status.name` was introduced in Tasks 1.23.0.
37
37
38
38
### Status Type
39
39
40
-
1.`status.type`
41
-
- This groups by the types you have given to your custom statuses.
42
-
- In order to impose a useful sort order, the types are prefixed with a number, so the groups will appear in this order, and with these group names:
43
-
-`1 IN_PROGRESS`
44
-
-`2 TODO`
45
-
-`3 DONE`
46
-
-`4 CANCELLED`
47
-
-`5 NON_TASK`
40
+
-`group by status.type`
41
+
- This groups by the types you have given to your custom statuses.
42
+
- In order to impose a useful sort order, the types are prefixed with a number, so the groups will appear in this order, and with these group names:
43
+
-`1 IN_PROGRESS`
44
+
-`2 TODO`
45
+
-`3 DONE`
46
+
-`4 CANCELLED`
47
+
-`5 NON_TASK`
48
48
49
49
> [!released]
50
50
`group by status.type` was introduced in Tasks 1.23.0.
@@ -53,52 +53,52 @@ For more information, including adding your own customised statuses, see [[Statu
53
53
54
54
### Done Date
55
55
56
-
1.`done`
57
-
- The done date of the task, including the week-day, or `No done date`.
56
+
-`group by done`
57
+
- The done date of the task, including the week-day, or `No done date`.
58
58
59
59
> [!released]
60
60
>
61
61
> -`done` grouping option was introduced in Tasks 1.7.0.
62
62
63
63
### Due Date
64
64
65
-
1.`due`
66
-
- The due date of the task, including the week-day, or `No due date`.
65
+
-`group by due`
66
+
- The due date of the task, including the week-day, or `No due date`.
67
67
68
68
> [!released]
69
69
>
70
70
> -`due` grouping option was introduced in Tasks 1.7.0.
71
71
72
72
### Scheduled Date
73
73
74
-
1.`scheduled`
75
-
- The scheduled date of the task, including the week-day, or `No scheduled date`.
74
+
-`group by scheduled`
75
+
- The scheduled date of the task, including the week-day, or `No scheduled date`.
76
76
77
77
> [!released]
78
78
>
79
79
> -`scheduled` grouping option was introduced in Tasks 1.7.0.
80
80
81
81
### Start Date
82
82
83
-
1.`start`
84
-
- The start date of the task, including the week-day, or `No start date`.
83
+
-`group by start`
84
+
- The start date of the task, including the week-day, or `No start date`.
85
85
86
86
> [!released]
87
87
>
88
88
> -`start` grouping option was introduced in Tasks 1.7.0.
89
89
90
90
### Created Date
91
91
92
-
1.`created`
93
-
- The created date of the task, including the week-day, or `No created date`.
92
+
-`group by created`
93
+
- The created date of the task, including the week-day, or `No created date`.
94
94
95
95
> [!released]
96
96
`created` grouping option was introduced in Tasks 2.0.0.
97
97
98
98
### Happens
99
99
100
-
1.`happens`
101
-
- The earliest of start date, scheduled date, and due date, including the week-day, or `No happens date` if none of those are set.
100
+
-`group by happens`
101
+
- The earliest of start date, scheduled date, and due date, including the week-day, or `No happens date` if none of those are set.
102
102
103
103
> [!released]
104
104
`happens` grouping option was introduced in Tasks 1.11.0.
@@ -107,46 +107,46 @@ For more information, including adding your own customised statuses, see [[Statu
107
107
108
108
### Priority
109
109
110
-
1.`priority`
111
-
- The priority of the task, namely one of:
112
-
-`Priority 0: Highest`
113
-
-`Priority 1: High`
114
-
-`Priority 2: Medium`
115
-
-`Priority 3: None`
116
-
-`Priority 4: Low`
117
-
-`Priority 5: Lowest`
110
+
-`group by priority`
111
+
- The priority of the task, namely one of:
112
+
-`Priority 0: Highest`
113
+
-`Priority 1: High`
114
+
-`Priority 2: Medium`
115
+
-`Priority 3: None`
116
+
-`Priority 4: Low`
117
+
-`Priority 5: Lowest`
118
118
119
119
> [!released]
120
120
>
121
121
> -`priority` grouping option was introduced in Tasks 1.11.0.
122
122
123
123
### Urgency
124
124
125
-
1.`urgency` ([[Urgency|urgency]])
126
-
- Currently, the groups run from the lowest urgency to highest.
127
-
- You can reverse this with `group by urgency reverse`.
128
-
- In a future release, the default group order will become from the highest urgency to lowest.
125
+
-`group by urgency` ([[Urgency|urgency]])
126
+
- Currently, the groups run from the lowest urgency to highest.
127
+
- You can reverse this with `group by urgency reverse`.
128
+
- In a future release, the default group order will become from the highest urgency to lowest.
129
129
130
130
> [!released]
131
131
>
132
132
> -`urgency` grouping option was introduced in Tasks 3.6.0.
133
133
134
134
### Recurrence
135
135
136
-
1.`recurring`
137
-
- Whether the task is recurring: either `Recurring` or `Not Recurring`.
138
-
1.`recurrence`
139
-
- The recurrence rule of the task, for example `every week on Sunday`, or `None` for non-recurring tasks.
140
-
- Note that the text displayed is generated programmatically and standardised, and so may not exactly match the text in any manually typed tasks. For example, a task with `🔁 every Sunday` is grouped in `every week on Sunday`.
136
+
-`group by recurring`
137
+
- Whether the task is recurring: either `Recurring` or `Not Recurring`.
138
+
-`group by recurrence`
139
+
- The recurrence rule of the task, for example `every week on Sunday`, or `None` for non-recurring tasks.
140
+
- Note that the text displayed is generated programmatically and standardised, and so may not exactly match the text in any manually typed tasks. For example, a task with `🔁 every Sunday` is grouped in `every week on Sunday`.
141
141
142
142
> [!released]
143
143
>
144
144
> -`recurring` and `recurrence` grouping options were introduced in Tasks 1.11.0.
145
145
146
146
### Tags
147
147
148
-
1.`tags`
149
-
- The tags of the tasks or `(No tags)`. If the task has multiple tags, it will show up under every tag.
148
+
-`group by tags`
149
+
- The tags of the tasks or `(No tags)`. If the task has multiple tags, it will show up under every tag.
150
150
151
151
> [!released]
152
152
>
@@ -156,31 +156,31 @@ For more information, including adding your own customised statuses, see [[Statu
156
156
157
157
### File Path
158
158
159
-
1.`path` (the path to the file that contains the task, that is, the folder and the filename)
159
+
-`group by path` (the path to the file that contains the task, that is, the folder and the filename)
160
160
161
161
### Root
162
162
163
-
1.`root` (the top-level folder of the file that contains the task, that is, the first directory in the path, which will be `/` for files in root of the vault)
163
+
-`group by root` (the top-level folder of the file that contains the task, that is, the first directory in the path, which will be `/` for files in root of the vault)
164
164
165
165
> [!released]
166
166
`root` grouping option was introduced in Tasks 1.11.0.
167
167
168
168
### Folder
169
169
170
-
1.`folder` (the folder to the file that contains the task, which will be `/` for files in root of the vault)
170
+
-`group by folder` (the folder to the file that contains the task, which will be `/` for files in root of the vault)
171
171
172
172
### File Name
173
173
174
-
1.`filename` (the link to the file that contains the task, without the `.md` extension)
175
-
- Note that tasks from different notes with the same file name will be grouped together in the same group.
174
+
-`group by filename` (the link to the file that contains the task, without the `.md` extension)
175
+
- Note that tasks from different notes with the same file name will be grouped together in the same group.
176
176
177
177
### Backlink
178
178
179
-
1.`backlink` (the text that would be shown in the task's [[Backlinks|backlink]], combining the task's file name and heading, but with no link added)
179
+
-`group by backlink` (the text that would be shown in the task's [[Backlinks|backlink]], combining the task's file name and heading, but with no link added)
180
180
181
181
### Heading
182
182
183
-
1.`heading` (the heading preceding the task, or `(No heading)` if there are no headings in the file)
183
+
-`group by heading` (the heading preceding the task, or `(No heading)` if there are no headings in the file)
0 commit comments