Skip to content

Commit

Permalink
[BUGFIX] Fix 'Undefined array key fulltext' in SolrSearch (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk authored Jul 11, 2024
1 parent 371076f commit b089b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Common/Solr/SolrSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ public function submit($start, $rows, $processResults = true)
$documents[$doc['uid']]['metadata'][$indexName] = $doc['metadata'][$indexName];
}
}
if ($this->searchParams['fulltext'] != '1') {
if (!array_key_exists('fulltext', $this->searchParams) || $this->searchParams['fulltext'] != '1') {
$documents[$doc['uid']]['page'] = 1;
$children = $childrenOf[$doc['uid']] ?? [];

Expand Down

0 comments on commit b089b8d

Please sign in to comment.