Change vendor and people default order

Close #35

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-03-19 08:13:36 +01:00
parent 8d23435806
commit c66974733a
12 changed files with 228 additions and 115 deletions

View File

@@ -12,7 +12,7 @@ import { PeopleSelector_organization$key } from "./__generated__/PeopleSelector_
const peopleSelectorFragment = graphql`
fragment PeopleSelector_organization on Organization {
id
peoples(first: 100)
peoples(first: 100, orderBy: { direction: ASC, field: FULL_NAME })
@connection(key: "PeopleSelector_organization_peoples") {
edges {
node {

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<78caa409132a5db72b83629bdcd023d5>>
* @generated SignedSource<<a048edd52203c53c6736b800456816b0>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -56,7 +56,16 @@ return {
(v0/*: any*/),
{
"alias": "peoples",
"args": null,
"args": [
{
"kind": "Literal",
"name": "orderBy",
"value": {
"direction": "ASC",
"field": "FULL_NAME"
}
}
],
"concreteType": "PeopleConnection",
"kind": "LinkedField",
"name": "__PeopleSelector_organization_peoples_connection",
@@ -139,7 +148,7 @@ return {
"storageKey": null
}
],
"storageKey": null
"storageKey": "__PeopleSelector_organization_peoples_connection(orderBy:{\"direction\":\"ASC\",\"field\":\"FULL_NAME\"})"
}
],
"type": "Organization",
@@ -147,6 +156,6 @@ return {
};
})();
(node as any).hash = "ed86f67795b049ec359cb7e5e55500a0";
(node as any).hash = "77094e387ff3e5dca822fc2360094744";
export default node;