Skip to content

Commit 21fa359

Browse files
authored
Fix sortby arg typo (#2419)
The `sortby` count looks from in the `about.html` example.
1 parent 6dd2801 commit 21fa359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/commands/ft.aggregate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ FT.AGGREGATE idx "@url:\"about.html\""
401401
APPLY "day(@timestamp)" AS day
402402
GROUPBY 2 @day @country
403403
REDUCE count 0 AS num_visits
404-
SORTBY 4 @day
404+
SORTBY 1 @day
405405
{{< /highlight >}}
406406
</details>
407407

0 commit comments

Comments
 (0)