Skip to content

Commit dee65d3

Browse files
committed
docs: Document new Task id sort and group instructions
1 parent eeff099 commit dee65d3

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

docs/Queries/Grouping.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This page is long. Here are some links to the main sections:
1515
- [[#Basics]]
1616
- [[#Custom Groups]]
1717
- [[#Group by Task Statuses]]
18+
- [[#Group by Task Dependencies]]
1819
- [[#Group by Dates in Tasks]]
1920
- [[#Group by Other Task Properties]]
2021
- [[#Group by File Properties]]
@@ -162,6 +163,20 @@ group by function "Next status symbol: " + task.status.nextSymbol.replace(" ", "
162163

163164
<!-- placeholder to force blank line after included text --><!-- endInclude -->
164165

166+
## Group by Task Dependencies
167+
168+
### Id
169+
170+
- `group by id`
171+
172+
For more information, see [[Task Dependencies]].
173+
174+
> [!released]
175+
>
176+
> - Task Id was introduced in Tasks X.Y.Z.
177+
178+
Since Tasks X.Y.Z, **[[Custom Grouping|custom grouping]]] by Id** is now possible, using `task.id`.
179+
165180
## Group by Dates in Tasks
166181

167182
### Due Date

docs/Queries/Sorting.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This page is long. Here are some links to the main sections:
1515
- [[#Default sort order]]
1616
- [[#Custom Sorting]]
1717
- [[#Sort by Task Statuses]]
18+
- [[#Sort by Task Dependencies]]
1819
- [[#Sort by Dates in Tasks]]
1920
- [[#Sort by Other Task Properties]]
2021
- [[#Sort by File Properties]]
@@ -157,6 +158,20 @@ sort by function task.status.nextSymbol
157158

158159
<!-- placeholder to force blank line after included text --><!-- endInclude -->
159160

161+
## Sort by Task Dependencies
162+
163+
### Id
164+
165+
- `sort by id`
166+
167+
For more information, see [[Task Dependencies]].
168+
169+
> [!released]
170+
>
171+
> - Task Id was introduced in Tasks X.Y.Z.
172+
173+
Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by Id** is now possible, using `task.id`.
174+
160175
## Sort by Dates in Tasks
161176

162177
### How dates are sorted

0 commit comments

Comments
 (0)