Skip to content

Commit

Permalink
Fixed null access bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnar Eivind Martinsen committed Oct 28, 2024
1 parent e4c1744 commit 4a64512
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ public function postConvertQuery(PostConvertedQueryEvent $event): void {
* main query only search Level-1 datasets.
*/
$do_child_join = $this->config->get('search_match_children');
$remove_parent_zero_children->get('remove_parent_zero_children');
$remove_parent_zero_children = $this->config->get('remove_parent_zero_children');
if ($do_child_join) {
$solarium_query->setQuery($main_query . ' OR _query_:"' . $helper->join('related_dataset_id', 'id') . $main_query . '"');
}
Expand Down

0 comments on commit 4a64512

Please sign in to comment.