(Image attached to help contextualise what I’m trying to do)
I’ve got a content type, Series. In the attached image, “Thor” is a Series.
Inside the Series, there are Collections and/or Volumes.
A Volume is an organisational construct. So, in this instance (although not visible in the attached image), there are two Collections inside “The Thor War”.
A Collection is a single book or issue or edition. They may or may not be contained inside a Volume. In the attached image, “The Black Galaxy Saga” is a collection which isn’t currently part of a Volume.
What I’m trying to do is retrieve all Collections inside the current Series, whether they’re inside a Volume or not.
In the Series blueprint, any query I write to find all Collections breaks things, and I get the blueprint’s empty message.
What am I missing with this…?
Thanks in advance - much appreciated!
Series.yml
title: series
status:
draft:
label: Draft
text: The series is still in draft mode. It can only be seen by editors with Panel access.
unlisted:
label: In Review
text: The series is online and can be visited with the direct URL. The team must still give the final go to publish it.
listed:
label: Published
text: The series (and any Collections within it) can be viewed on the live site.
columns:
- width: 3/3
sections:
seriesCollections:
type: pages
label: Collections
template: collection
status: all
layout: cards
size: small
sortBy: modified desc
limit: 10
info: "{{ page.Publicationformat }}"
image:
cover: true
back: "linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, rgba(240,240,240,1) 100%)"
empty: No collections yet
seriesVolumes:
type: pages
label: Volumes
templates:
- volume
layout: list
size: small
sortBy: modified desc
limit: 5
image:
cover: true
back: "linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, rgba(240,240,240,1) 100%)"
empty: No volumes yet