Skip to content

Commit

Permalink
TASK: Merge branch '1.0' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed May 17, 2020
2 parents cbaf9f6 + e517566 commit 0e01887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/NodeSearchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ protected function determineSearchStrategy($term, array $searchNodeTypes, Contex

$shouldUse = $this->eelEvaluationService->evaluate($searchStrategy['condition'], [
'term' => $term,
'searchNodeTypes' => $searchNodeTypes,
'searchNodeTypes' => array_values($searchNodeTypes),
'context' => $context,
'startingPoint' => $startingPoint,
]);
Expand Down
2 changes: 1 addition & 1 deletion Configuration/Settings.SearchStrategy.TitlePrefix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PunktDe:
logRequests: true
searchStrategies:
titlePrefix:
condition: '${Array.indexOf(searchNodeTypes, "Neos.Neos:Document")}'
condition: '${Array.indexOf(searchNodeTypes, "Neos.Neos:Document") != -1}'
request:
query:
bool:
Expand Down

0 comments on commit 0e01887

Please sign in to comment.