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