Merge pull request #17717 from gustavotrott/fix-userlist-orderby
fix (html5): set correct orderby for graphql query of userlist
This commit is contained in:
commit
12baa96d21
@ -1,6 +1,14 @@
|
||||
import { gql } from '@apollo/client';
|
||||
export const USERS_SUBSCRIPTION = gql`subscription Users($offset: Int!, $limit: Int!) {
|
||||
user(limit:$limit, offset: $offset, order_by: [{presenter: desc_nulls_last},{role: asc}, {name: asc}, {userId: asc}]) {
|
||||
user(limit:$limit, offset: $offset,
|
||||
order_by: [
|
||||
{role: asc},
|
||||
{emojiTime: asc_nulls_last},
|
||||
{isDialIn: desc},
|
||||
{hasDrawPermissionOnCurrentPage: desc},
|
||||
{name: asc},
|
||||
{userId: asc}
|
||||
]) {
|
||||
userId
|
||||
extId
|
||||
name
|
||||
|
Loading…
Reference in New Issue
Block a user