graphql: sort leads & opportunities
This commit is contained in:
parent
ca96097bf9
commit
854ea375bd
@ -35,6 +35,7 @@ query GetLeads($domainname: String) {
|
|||||||
filterConditionGroup: {
|
filterConditionGroup: {
|
||||||
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
||||||
}
|
}
|
||||||
|
orderby: { fieldName: "createdon", sortingType: DESC }
|
||||||
) {
|
) {
|
||||||
leads {
|
leads {
|
||||||
label: fullname
|
label: fullname
|
||||||
@ -84,6 +85,7 @@ query GetOpportunities($domainname: String) {
|
|||||||
filterConditionGroup: {
|
filterConditionGroup: {
|
||||||
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
andFilterConditions: { filterConditionString: { fieldName: "domainname", eq: $domainname } }
|
||||||
}
|
}
|
||||||
|
orderby: { fieldName: "createdon", sortingType: DESC }
|
||||||
) {
|
) {
|
||||||
opportunities {
|
opportunities {
|
||||||
label: name
|
label: name
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user