Skip to content

Commit

Permalink
update query
Browse files Browse the repository at this point in the history
  • Loading branch information
lcampbell2 committed Oct 21, 2024
1 parent 95d739f commit 0199a03
Showing 1 changed file with 15 additions and 25 deletions.
40 changes: 15 additions & 25 deletions frontend/src/graphql/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,35 +735,25 @@ export const GET_HISTORICAL_ORG_SUMMARIES = gql`
`

export const ORG_NEGATIVE_FINDINGS = gql`
query OrgAggregatedNegativeGuidance($orgSlug: Slug!, $first: Int!, $after: String) {
query OrgAggregatedNegativeGuidance($orgSlug: Slug!) {
findOrganizationBySlug(orgSlug: $orgSlug) {
id
summaries {
negativeFindings(first: $first, after: $after, orderBy: { field: TAG_COUNT, direction: DESC }) {
totalCount
edges {
cursor
node {
tagId
tagName
guidance
refLinks {
description
refLink
}
refLinksTech {
description
refLink
}
count
negativeFindings(orderBy: { direction: DESC, field: TAG_COUNT }) {
guidanceTags {
tagId
tagName
guidance
refLinks {
description
refLink
}
refLinksTech {
description
refLink
}
count
}
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
totalCount
}
}
}
Expand Down

0 comments on commit 0199a03

Please sign in to comment.