Hi,
I’m trying setup a select query in my blueprint that shows the results from a structured field.
The results are showing blanks no matter what field values I’m pulling. The strange thing is that is pulling the exact amount of entries, So I’m wondering if it might be an issue with non-escaped characters?
books.yml
(pulling content from here)
title: Books
icon: 📖
fields:
books:
type: structure
sortBy: startdate desc
columns:
name:
width: 2/8
images:
width: 1/8
author:
width: 2/8
startdate:
width: 1/8
note:
width: 2/8
tofix:
width: 1/8
fields:
images:
label: Images
type: files
layout: cards
size: small
author:
label: Author(s)
type: text
name:
label: Name
type: text
startdate:
type: date
label: Date
width: 2/4
min: 01.01.1960
help: "For year only, use Jan 1st: 2020-01-01"
where:
label: Where
type: text
publisher:
label: Publisher
type: text
note:
label: Note
width: 3/4
type: textarea
tofix:
label: Needs Review
width: 1/4
type: toggle
text: ["no", "yes"]
Field within another blueprint
bookLink:
label: Book Link
width: 1/4
type: select
options: query
query: site.find('books').books.toStructure
text: "{{ structureItem.name }}"
value: "{{ structureItem.name }}"
help: Link to a book
Result in Panel: