Skip to content

Commit

Permalink
sort for cumulative
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Mar 26, 2024
1 parent 445e7d9 commit d8f42de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions posthog/hogql_queries/insights/trends/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ def _get_cumulative_query(self, inner_query: ast.SelectQuery, breakdown_enabled:
),
],
select_from=ast.JoinExpr(table=inner_query),
order_by=[ast.OrderExpr(expr=ast.Field(chain=["day_start"]), order="ASC")],
)

0 comments on commit d8f42de

Please sign in to comment.