Skip to content

Commit 834503e

Browse files
committed
Merge pull request #14 from dfeyer/task-cache-context
TASK: Add documentNode in the cache context
2 parents 1a7bd8b + a5a52df commit 834503e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Resources/Private/TypoScript/SearchPlugin.ts2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ prototype(Flowpack.SearchPlugin:Search) {
1717
context {
1818
1 = 'site'
1919
2 = 'node'
20+
3 = 'documentNode'
2021
}
2122
}
2223
}
2324

2425

2526
prototype(Flowpack.SearchPlugin:Search.Form) < prototype(TYPO3.TypoScript:Template) {
2627
node = ${site}
28+
2729
templatePath = 'resource://Flowpack.SearchPlugin/Private/Templates/NodeTypes/Search.Form.html'
2830
searchWord = ${request.arguments.search}
2931
}

0 commit comments

Comments
 (0)