@@ -17,6 +17,7 @@ export type { CasesPageQuery, DisputeDetailsFragment };
17
17
export const disputeFragment = graphql ( `
18
18
fragment DisputeDetails on Dispute {
19
19
id
20
+ disputeID
20
21
arbitrated {
21
22
id
22
23
}
@@ -34,15 +35,15 @@ export const disputeFragment = graphql(`
34
35
35
36
const casesQueryWhere = graphql ( `
36
37
query CasesPageWhere($skip: Int, $where: Dispute_filter, $orderDirection: OrderDirection, $first: Int) {
37
- disputes(first: $first, skip: $skip, orderBy: lastPeriodChange , orderDirection: $orderDirection, where: $where) {
38
+ disputes(first: $first, skip: $skip, orderBy: disputeID , orderDirection: $orderDirection, where: $where) {
38
39
...DisputeDetails
39
40
}
40
41
}
41
42
` ) ;
42
43
43
44
const casesQuery = graphql ( `
44
45
query CasesPage($skip: Int, $orderDirection: OrderDirection, $first: Int) {
45
- disputes(first: $first, skip: $skip, orderBy: lastPeriodChange , orderDirection: $orderDirection) {
46
+ disputes(first: $first, skip: $skip, orderBy: disputeID , orderDirection: $orderDirection) {
46
47
...DisputeDetails
47
48
}
48
49
}
@@ -51,7 +52,7 @@ const casesQuery = graphql(`
51
52
const myCasesQuery = graphql ( `
52
53
query MyCases($id: ID!, $skip: Int, $orderDirection: OrderDirection) {
53
54
user(id: $id) {
54
- disputes(first: 3, skip: $skip, orderBy: lastPeriodChange , orderDirection: $orderDirection) {
55
+ disputes(first: 3, skip: $skip, orderBy: disputeID , orderDirection: $orderDirection) {
55
56
...DisputeDetails
56
57
}
57
58
}
@@ -61,7 +62,7 @@ const myCasesQuery = graphql(`
61
62
const myCasesQueryWhere = graphql ( `
62
63
query myCasesPageWhere($id: ID!, $skip: Int, $where: Dispute_filter, $orderDirection: OrderDirection) {
63
64
user(id: $id) {
64
- disputes(first: 3, skip: $skip, orderBy: lastPeriodChange , orderDirection: $orderDirection, where: $where) {
65
+ disputes(first: 3, skip: $skip, orderBy: disputeID , orderDirection: $orderDirection, where: $where) {
65
66
...DisputeDetails
66
67
}
67
68
}
0 commit comments