crm.query.graphql: fix arrays sorting
This commit is contained in:
parent
01111a6f0b
commit
9c3f2bbd78
@ -100,6 +100,7 @@ query GetQuotes($leadid: UUID!) {
|
|||||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
orderby: { fieldName: "createdon", sortingType: DESC }
|
||||||
) {
|
) {
|
||||||
label: evo_quotename
|
label: evo_quotename
|
||||||
value: quoteid
|
value: quoteid
|
||||||
@ -473,7 +474,7 @@ query GetImportProgram($importProgramId: UUID!) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
query GetRegions {
|
query GetRegions {
|
||||||
evo_regions {
|
evo_regions(orderby: { fieldName: "evo_name", sortingType: ASC }) {
|
||||||
label: evo_name
|
label: evo_name
|
||||||
value: evo_regionid
|
value: evo_regionid
|
||||||
evo_fias_id
|
evo_fias_id
|
||||||
@ -499,6 +500,7 @@ query GetTowns($regionId: UUID!) {
|
|||||||
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
{ filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
orderby: { fieldName: "evo_name", sortingType: ASC }
|
||||||
) {
|
) {
|
||||||
evo_fias_id
|
evo_fias_id
|
||||||
label: evo_name
|
label: evo_name
|
||||||
@ -576,6 +578,7 @@ query GetBrands {
|
|||||||
filterConditionGroup: {
|
filterConditionGroup: {
|
||||||
andFilterConditions: { filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
andFilterConditions: { filterConditionInt: { fieldName: "statecode", eq: 0 } }
|
||||||
}
|
}
|
||||||
|
orderby: { fieldName: "evo_name", sortingType: ASC }
|
||||||
) {
|
) {
|
||||||
label: evo_name
|
label: evo_name
|
||||||
value: evo_brandid
|
value: evo_brandid
|
||||||
@ -602,6 +605,7 @@ query GetModels($brandId: UUID!) {
|
|||||||
{ filterConditionGuid: { fieldName: "evo_brandid", eq: $brandId } }
|
{ filterConditionGuid: { fieldName: "evo_brandid", eq: $brandId } }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
orderby: { fieldName: "evo_name", sortingType: ASC }
|
||||||
) {
|
) {
|
||||||
label: evo_name
|
label: evo_name
|
||||||
value: evo_modelid
|
value: evo_modelid
|
||||||
@ -661,6 +665,7 @@ query GetDealers {
|
|||||||
{ filterConditionInt: { fieldName: "evo_legal_form", eq: 100000001 } }
|
{ filterConditionInt: { fieldName: "evo_legal_form", eq: 100000001 } }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
orderby: { fieldName: "name", sortingType: ASC }
|
||||||
) {
|
) {
|
||||||
label: name
|
label: name
|
||||||
value: accountid
|
value: accountid
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user