mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
add groupBy to roles user count
This commit is contained in:
@@ -133,7 +133,7 @@ export default defineComponent({
|
||||
params: {
|
||||
limit: -1,
|
||||
fields: 'id,name,description,icon,users.id',
|
||||
deep: { users: { _aggregate: { count: 'id' } } },
|
||||
deep: { users: { _aggregate: { count: 'id' }, _groupBy: ['id'] } },
|
||||
sort: 'name',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user