graphql: sort leads & opportunities

This commit is contained in:
vchikalkin 2024-06-11 11:59:50 +03:00
parent ca96097bf9
commit 854ea375bd
2 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@ query GetLeads($domainname: String) {
filterConditionGroup: {
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
}
orderby: { fieldName: "createdon", sortingType: DESC }
) {
leads {
label: fullname
@ -84,6 +85,7 @@ query GetOpportunities($domainname: String) {
filterConditionGroup: {
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
}
orderby: { fieldName: "createdon", sortingType: DESC }
) {
opportunities {
label: name

File diff suppressed because one or more lines are too long