Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: group entity types by type

Alaister Youngd53ced3c9afa
diff --git a/studio/data/entity-types/entity-types-infinite-query.ts b/studio/data/entity-types/entity-types-infinite-query.ts
index c696e64444e..d1e304e810f 100644
--- a/studio/data/entity-types/entity-types-infinite-query.ts
+++ b/studio/data/entity-types/entity-types-infinite-query.ts
@@ -54,7 +54,7 @@ export async function getEntityTypes(
)
and nc.nspname = '${schema}'
${search ? `and c.relname ilike '%${search}%'` : ''}
- order by "name" asc
+ order by c.relkind asc, c.relname asc
limit ${limit}
offset ${page * limit}
)