Skip to content

Commit a71cb1d

Browse files
committed
Expose authorId
1 parent ab1acf7 commit a71cb1d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Packages/Sites/Sfi.Site/Resources/Private/Fusion/NodeTypes/CalendarJson.fusion

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ prototype(Sfi.Site:SermonJson) < prototype(Neos.Fusion:RawArray) {
4343
title = ${String.stripTags(node.properties.title)}
4444
teaser = ${q(node).property('teaser')}
4545
authorName = ${node.properties.author.properties.title}
46+
authorId = ${node.properties.author.identifier}
4647
bodytext = Neos.Fusion:Collection {
4748
collection = ${q(node).children('main').children()}
4849
itemRenderer = Neos.Neos:ContentCase

Packages/Sites/Sfi.Site/Resources/Private/Fusion/NodeTypes/Sermon.fusion

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ prototype(Sfi.Site:Sermon) < prototype(Sfi.Site:AbstractPage) {
4646
share = Sfi.Site:Share
4747

4848
authorName = ${node.properties.author.properties.title}
49+
authorId = ${node.properties.author.identifier}
4950
thumbUri = Neos.Neos:ImageUri {
5051
asset = ${node.properties.author.properties.photo}
5152
# No idea why this is needed

Packages/Sites/Sfi.Site/Resources/Private/Fusion/NodeTypes/SermonsFilteredJson.fusion

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ prototype(Sfi.Site:SermonsFilteredJson) < prototype(Neos.Fusion:RawCollection) {
2525
@cache {
2626
mode = 'cached'
2727
entryIdentifier {
28-
authro = ${request.arguments.author}
28+
author = ${request.arguments.author}
2929
theme = ${request.arguments.theme}
3030
}
3131
entryTags {

0 commit comments

Comments
 (0)