File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -663,6 +663,15 @@ group by function task.urgency.toFixed(3)
663
663
664
664
- Show the urgency to 3 decimal places, unlike the built- in " group by urgency" which uses 2.
665
665
666
+ ` ` ` javascript
667
+ group by function task.urgency
668
+ ` ` `
669
+
670
+ - Show non- integer urgency values to 5 decimal places, and integer ones to 0 decimal places.
671
+ - Sorting of groups by name has been found to be unreliable with varying numbers of decimal places.
672
+ - So to ensure consistent sorting, Tasks will round non- integer numbers to a fixed 5 decimal places, returning the value as a string.
673
+ - This still sorts consistently even when some of the group' s values are integers.
674
+
666
675
<!-- placeholder to force blank line after included text --><!-- endInclude -->
667
676
668
677
### Recurrence
Original file line number Diff line number Diff line change @@ -193,6 +193,15 @@ group by function task.urgency.toFixed(3)
193
193
194
194
- Show the urgency to 3 decimal places, unlike the built-in "group by urgency" which uses 2.
195
195
196
+ ```javascript
197
+ group by function task.urgency
198
+ ```
199
+
200
+ - Show non-integer urgency values to 5 decimal places, and integer ones to 0 decimal places.
201
+ - Sorting of groups by name has been found to be unreliable with varying numbers of decimal places.
202
+ - So to ensure consistent sorting, Tasks will round non-integer numbers to a fixed 5 decimal places, returning the value as a string.
203
+ - This still sorts consistently even when some of the group's values are integers.
204
+
196
205
<!-- placeholder to force blank line after included text --><!-- endInclude -->
197
206
198
207
### File property examples
You can’t perform that action at this time.
0 commit comments