Skip to content

Commit 7dd4d98

Browse files
committed
TASK: Apply migration Neos.Neos-20161125104802
Adjusts code to package renaming from "TYPO3.Neos" to "Neos.Neos" in Fusion files
1 parent 5185184 commit 7dd4d98

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

Resources/Private/TypoScript/ResultRendering.ts2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ prototype(Flowpack.SearchPlugin:SingleResult) < prototype(Neos.Fusion:Case) {
88

99
fallback {
1010
condition = TRUE
11-
type = 'TYPO3.Neos:DocumentSearchResult'
11+
type = 'Neos.Neos:DocumentSearchResult'
1212
}
1313
}
1414

15-
prototype(TYPO3.Neos:DocumentSearchResult) < prototype(Neos.Fusion:Template) {
15+
prototype(Neos.Neos:DocumentSearchResult) < prototype(Neos.Fusion:Template) {
1616
templatePath = 'resource://Flowpack.SearchPlugin/Private/Templates/SearchResult/DocumentSearchResult.html'
1717
node = ${node}
1818
highlight = ${Flowpack.SearchPlugin.Array.flatten(searchHit.highlight)}
1919

2020
title = ${q(node).property('title')}
2121
description = ''
22-
parents = ${Array.reverse(q(node).parents('[instanceof TYPO3.Neos:Document]').get())}
22+
parents = ${Array.reverse(q(node).parents('[instanceof Neos.Neos:Document]').get())}
2323
}
2424

25-
prototype(Neos.NodeTypes:PageSearchResult) < prototype(TYPO3.Neos:DocumentSearchResult)
25+
prototype(Neos.NodeTypes:PageSearchResult) < prototype(Neos.Neos:DocumentSearchResult)

Resources/Private/TypoScript/SearchPlugin.ts2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
prototype(Flowpack.SearchPlugin:Search) < prototype(TYPO3.Neos:Content) {
1+
prototype(Flowpack.SearchPlugin:Search) < prototype(Neos.Neos:Content) {
22
templatePath = 'resource://Flowpack.SearchPlugin/Private/Templates/NodeTypes/Search.html'
33

44
searchTerm = ${request.arguments.search}
5-
searchQuery = ${this.searchTerm ? Search.query(site).fulltext(this.searchTerm).nodeType('TYPO3.Neos:Document') : null}
5+
searchQuery = ${this.searchTerm ? Search.query(site).fulltext(this.searchTerm).nodeType('Neos.Neos:Document') : null}
66

77
totalSearchResults = ${this.searchQuery.count()}
88

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
"Neos.Setup-20161125014759",
6363
"Neos.SiteKickstarter-20161125095901",
6464
"Neos.Fusion-20161125104701",
65-
"Neos.NodeTypes-20161125104800"
65+
"Neos.NodeTypes-20161125104800",
66+
"Neos.Neos-20161125104802"
6667
]
6768
}
6869
}

0 commit comments

Comments
 (0)