From d53ced3c9afaf2cb48eabcd8326182e5e8dd8dc2 Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Fri, 24 Mar 2023 13:36:04 +1100 Subject: [PATCH] fix: group entity types by type --- studio/data/entity-types/entity-types-infinite-query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} )