Skip to content

Commit 3f197a0

Browse files
committed
Cast to number maybe?
1 parent 5d6b8bd commit 3f197a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ prototype(Sfi.Site:SermonsFilteredJson) < prototype(Neos.Fusion:RawCollection) {
1717
collection = ${Search.query(node).nodeType("Sfi.Site:Sermon")}
1818
collection.@process.filterByAuthor = ${request.arguments.author ? value.exactMatch('author', request.arguments.author) : value}
1919
collection.@process.filterByTheme = ${request.arguments.theme ? value.exactMatch('themes', request.arguments.theme) : value}
20-
collection.@process.exec = ${value.from(0).limit(request.arguments.limit || 1000).execute().toArray()}
20+
collection.@process.exec = ${value.from(0).limit(Number(request.arguments.limit) || 1000).execute().toArray()}
2121
itemName = 'node'
2222
itemRenderer = Sfi.Site:SermonJson
2323

0 commit comments

Comments
 (0)