Skip to content

Commit 6f14380

Browse files
committed
docs: Add Contents section to Grouping and Sorting
1 parent 771a938 commit 6f14380

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

docs/Queries/Grouping.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ publish: true
44

55
# Grouping
66

7+
## Contents
8+
9+
This page is long. Here are some links to the main sections:
10+
11+
- [[#Basics]
12+
- [[#Group by Task Statuses]
13+
- [[#Group by Dates in Tasks]
14+
- [[#Group by Other Task Properties]
15+
- [[#Group by File Properties]
16+
- [[#Multiple groups]
17+
- [[#Refining groups]
18+
- [[#Notes]
19+
- [[#Screenshots]
20+
- [[#Examples]
21+
722
## Basics
823

924
> [!released]
@@ -13,10 +28,6 @@ By default, Tasks displays tasks in a single list.
1328

1429
To divide the matching tasks up with headings, you can add `group by` lines to the query.
1530

16-
## Available grouping properties
17-
18-
You can group by the following properties.
19-
2031
## Group by Task Statuses
2132

2233
For more information, including adding your own customised statuses, see [[Statuses]].

docs/Queries/Sorting.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,26 @@ publish: true
44

55
# Sorting
66

7+
## Contents
8+
9+
This page is long. Here are some links to the main sections:
10+
11+
- [[#Basics]]
12+
- [[#Sort by Task Statuses]]
13+
- [[#Sort by Dates in Tasks]]
14+
- [[#Sort by Other Task Properties]]
15+
- [[#Sort by File Properties]]
16+
- [[#Multiple sort criteria]]
17+
- [[#Notes]]
18+
- [[#Reverse sorting]]
19+
- [[#Examples]]
20+
721
## Basics
822

923
By default Tasks sorts tasks by [[Urgency|a calculated score we call "urgency"]].
1024

1125
To sort the results of a query different from the default, you must add at least one `sort by` line to the query.
1226

13-
## Available sorting properties
14-
15-
You can sort tasks by the following properties.
16-
1727
## Sort by Task Statuses
1828

1929
For more information, including adding your own customised statuses, see [[Statuses]].

0 commit comments

Comments
 (0)