[COMPONENT][Tag][Search] Fix typo in event handler name mismatch

This commit is contained in:
Hugo Sales 2021-12-02 19:17:37 +00:00
parent 772ec6efcf
commit f5ec099e9a
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
{% endblock stylesheets %}
{% block body %}
{% if error %}
{% if error is defined %}
<label class="alert alert-danger">
{{ error.getMessage() }}
</label>

View File

@ -141,7 +141,7 @@ class Tag extends Component
return Event::stop;
}
public function onSeachQueryAddJoins(QueryBuilder &$note_qb, QueryBuilder &$actor_qb): bool
public function onSearchQueryAddJoins(QueryBuilder &$note_qb, QueryBuilder &$actor_qb): bool
{
$note_qb->join('App\Entity\NoteTag', 'note_tag', Expr\Join::WITH, 'note_tag.note_id = note.id');
$actor_qb->join('App\Entity\ActorTag', 'actor_tag', Expr\Join::WITH, 'actor_tag.tagger = actor.id');