File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Packages/Sites/Sfi.Site/Resources/Private/Fusion/NodeTypes Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ root.sermonsFilteredJson {
2
+ condition = ${request.arguments.author}
3
+ renderer = Neos.Fusion:Http.Message {
4
+ httpResponseHead {
5
+ headers.Content-Type = 'application/json;charset=utf-8'
6
+ headers.Access-Control-Allow-Origin = '*'
7
+ }
8
+ content = Sfi.Site:SermonsFilteredJson
9
+ }
10
+ }
11
+ root.@cache.entryIdentifier.author = ${request.arguments.author}
12
+
13
+ prototype(Sfi.Site:SermonsFilteredJson) < prototype(Neos.Fusion:RawCollection) {
14
+ collection = ${Search.query(site).nodeType("Sfi.Site:Sermon").exactMatch('authro', request.arguments.author).execute().toArray()}
15
+ itemName = 'node'
16
+ itemRenderer = Sfi.Site:SermonJson
17
+
18
+ @process.1 = ${Json.stringify(value)}
19
+
20
+ @cache {
21
+ mode = 'cached'
22
+ entryIdentifier {
23
+ calendarDate = ${request.arguments.author}
24
+ }
25
+ entryTags {
26
+ 1 = ${Neos.Caching.nodeTypeTag('Sfi.Site:Sermon')}
27
+ }
28
+ }
29
+ }
You can’t perform that action at this time.
0 commit comments