[COMPONENT][Search] Add facility for supporting searching for note types
This commit is contained in:
parent
d667c3a453
commit
01470ee664
@ -82,9 +82,15 @@ abstract class Parser
|
||||
throw new ServerException("No one claimed responsibility for a match term: {$term}");
|
||||
}
|
||||
if (!\is_null($note_res)) {
|
||||
if (\is_array($note_res)) {
|
||||
$note_res = $eb->orX(...$note_res);
|
||||
}
|
||||
$note_parts[] = $note_res;
|
||||
}
|
||||
if (!\is_null($actor_res)) {
|
||||
if (\is_array($actor_res)) {
|
||||
$actor_res = $ex->orX(...$actor_res);
|
||||
}
|
||||
$actor_parts[] = $actor_res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user