[COMPONENT][Search] Add support for searching in notes' contents
This commit is contained in:
parent
060c3f01a6
commit
a16d31b70e
@ -165,6 +165,8 @@ class Search extends Component
|
|||||||
$actor_expr[] = $eb->neq('actor.type', $type);
|
$actor_expr[] = $eb->neq('actor.type', $type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} elseif (!str_contains($term, ':')) {
|
||||||
|
$note_expr = $eb->contains('note.rendered', $term);
|
||||||
}
|
}
|
||||||
return Event::next;
|
return Event::next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user