Skip to content

Commit 24327a3

Browse files
committed
docs: add changelog + query-blocks docs for alpha sort
1 parent 95a354c commit 24327a3

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414

1515
### ✨ Features
1616

17+
- You can now sort tasks alphabetically by name using `alphabetical` or `alphabeticalDescending` in the sorting field
1718
- You can now provide 'time' to the show field on a query. This will only render the time of the task (unless the end of the task is on a different day than the start).
1819

1920
### 🐛 Bug Fixes

docs/docs/query-blocks.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ autorefresh: 120
6161

6262
The `sorting` property allows you to specify the ordering for how your tasks are rendered. This is specified as a list, where we sort in the order of the properties in the list. The possible values are:
6363

64+
- `alphabetical` or `alphabeticalAscending`: sorts tasks alphabetically by name (A→Z, case-insensitive)
65+
- `alphabeticalDescending`: sorts tasks alphabetically by name (Z→A, case-insensitive)
6466
- `date` or `dateAscending`: sorts tasks in ascending order based on due date
6567
- `dateDescending`: sorts tasks in descending order based on due date
6668
- `priority` or `priorityAscending`: sorting tasks in ascending order based on priority
@@ -82,6 +84,17 @@ sorting:
8284
```
8385
````
8486

87+
You can also sort tasks alphabetically:
88+
89+
````
90+
```todoist
91+
filter: "#work"
92+
sorting:
93+
- priority
94+
- alphabetical
95+
```
96+
````
97+
8598
### `groupBy`
8699

87100
The `groupBy` property controls how tasks are grouped when they are rendered. If omitted, there will be no grouping. The possible values are:

0 commit comments

Comments
 (0)