Limit third party selectors to first-level parties
Signed-off-by: Sacha Al Himdani <sacha@probo.com>
This commit is contained in:
@@ -49,7 +49,11 @@ const thirdPartiesQuery = graphql`
|
||||
query ThirdPartiesMultiSelectFieldQuery($organizationId: ID!) {
|
||||
organization: node(id: $organizationId) {
|
||||
... on Organization {
|
||||
thirdParties(first: 100, orderBy: { direction: ASC, field: NAME }) {
|
||||
thirdParties(
|
||||
first: 100
|
||||
orderBy: { direction: ASC, field: NAME }
|
||||
filter: { level: 1 }
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
|
||||
@@ -32,6 +32,7 @@ const thirdPartiesCellQuery = graphql`
|
||||
thirdParties(
|
||||
first: 100
|
||||
orderBy: { direction: ASC, field: NAME }
|
||||
filter: { level: 1 }
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
|
||||
Reference in New Issue
Block a user