Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: project order by id (#9463)

p0ny8c38b94d8532
diff --git a/backend/store/project.go b/backend/store/project.go
index f710cf320f..a71b8d99b3 100644
--- a/backend/store/project.go
+++ b/backend/store/project.go
@@ -360,7 +360,8 @@ func (s *Store) listProjectImplV2(ctx context.Context, tx *Tx, find *FindProject
setting,
row_status
FROM project
- WHERE `+strings.Join(where, " AND "),
+ WHERE `+strings.Join(where, " AND ")+`
+ ORDER BY project.id`,
args...,
)
if err != nil {