mirror of
https://github.com/flarum/core.git
synced 2025-08-08 17:36:38 +02:00
fixes author gambit when used with fulltext search, added test to cover (#1620)
* fixes author gambit when used with fulltext search, added test to cover * Apply fixes from StyleCI [ci skip] [skip ci]
This commit is contained in:
committed by
Franz Liedke
parent
bd10ebff24
commit
c446c5cc61
@@ -54,6 +54,6 @@ class AuthorGambit extends AbstractRegexGambit
|
||||
$ids[] = $this->users->getIdForUsername($username);
|
||||
}
|
||||
|
||||
$search->getQuery()->whereIn('user_id', $ids, 'and', $negate);
|
||||
$search->getQuery()->whereIn('discussions.user_id', $ids, 'and', $negate);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user