Skip to content

Commit

Permalink
fix(catalogue): reused variables should be included in count of catal…
Browse files Browse the repository at this point in the history
…ogue landingpage (#4634)
  • Loading branch information
mswertz authored Jan 24, 2025
1 parent 11ec853 commit acff9cc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions apps/nuxt3-ssr/pages/[schema]/ssr-catalogue/[catalogue]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,20 @@ const { data, error } = await useFetch(`/${route.params.schema}/graphql`, {
partOfResources: { id: { equals: catalogueRouteParam } },
},
},
{
reusedInResources: {
_or: [
{ resource: { id: { equals: catalogueRouteParam } } },
{
resource: {
partOfResources: {
id: { equals: catalogueRouteParam },
},
},
},
],
},
},
],
}
: //should only include harmonised variables
Expand Down

0 comments on commit acff9cc

Please sign in to comment.