mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 10:59:53 +00:00
Ensure a deterministic order to project activity summaries
This commit is contained in:
parent
776095caf0
commit
51b98d548b
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,7 @@ impl Db for PostgresDb {
|
|||
user_durations.user_id = project_durations.user_id AND
|
||||
user_durations.user_id = users.id AND
|
||||
project_durations.project_id = project_collaborators.project_id
|
||||
ORDER BY total_duration DESC, user_id ASC
|
||||
ORDER BY total_duration DESC, user_id ASC, project_id ASC
|
||||
";
|
||||
|
||||
let mut rows = sqlx::query_as::<_, (UserId, String, ProjectId, i64, i64)>(query)
|
||||
|
|
Loading…
Reference in a new issue