diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-05-07 14:11:04 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-05-08 08:02:34 -0100 |
commit | 7deb98642ab21e94117d215c75999f34e559b31b (patch) | |
tree | d8f4002a44cecb073aa6d9bc3281dd26dbfa2bb6 /lib/Db/NotesRequest.php | |
parent | 12404d7eaa527dd9ae7f0710d9dfb04edf5b4a8c (diff) |
Refresh on the SQL migrations
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db/NotesRequest.php')
-rw-r--r-- | lib/Db/NotesRequest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/NotesRequest.php b/lib/Db/NotesRequest.php index 2e931526..5bbf2478 100644 --- a/lib/Db/NotesRequest.php +++ b/lib/Db/NotesRequest.php @@ -467,7 +467,7 @@ class NotesRequest extends NotesRequestBuilder { $on = $this->exprJoinFollowing($qb, $actor); $on->add($this->exprLimitToRecipient($qb, ACore::CONTEXT_PUBLIC, false)); $on->add($this->exprLimitToRecipient($qb, $actor->getId(), true)); - $qb->join($this->defaultSelectAlias, CoreRequestBuilder::TABLE_SERVER_FOLLOWS, 'f', $on); + $qb->join($this->defaultSelectAlias, CoreRequestBuilder::TABLE_FOLLOWS, 'f', $on); $qb->andWhere($this->exprValueWithinJsonFormat($qb, 'hashtags', '' . $hashtag)); |