fix: group entity types by type

This commit is contained in:
Alaister Young committed 2023-03-24 13:36:04 +11:00
1 parent 068ee10601
commit d53ced3c9a
1 file changed
+1 -1
@@ -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}
)