I have a ‘portfolioSection’ Collection Type… Inside of it is several ‘cards’ up to lets say 20… each card has image, button, title, desc etc…
I want to query this with graphql… which I have… but I want to limit the output so it doesnt send me 10 at a time but only 1 for exampple…
So this works below BUT i am unable to retrrieve the proper meta(pagination) info for that section which Im limiting… it seems to only give me back the main query pagination…
query getPortfolioSectionByTitle($title: String!) {
portfolioSections(filters: { title: { eq: $title } }) {
data {
attributes {
title
Card (pagination: { start:0 limit: 2 }){
id
title
description
descriptionLong
isFeatured
Image {
data {
id
attributes {
name
url
}
}
}
Button {
title
link
type
isExternal
}
}
}
}
meta {
pagination {
page
pageSize
pageCount
total
}
}
}
}
This topic has been created from a Discord post (1282355227110019092) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord