Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
alpha1
Maxence Lange 2018-12-06 19:33:29 -01:00
rodzic 3cd29fe20c
commit 93e003ab41
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -154,9 +154,7 @@ class NotesRequestBuilder extends CoreRequestBuilder {
$crossFollows->add($this->exprLimitToDBFieldInt($qb, 'accepted', 1, 'f'));
$on->add($crossFollows);
$qb->join(
$this->defaultSelectAlias, CoreRequestBuilder::TABLE_SERVER_FOLLOWS, 'f', $on
);
$qb->join($this->defaultSelectAlias, CoreRequestBuilder::TABLE_SERVER_FOLLOWS, 'f', $on);
}
@ -180,7 +178,7 @@ class NotesRequestBuilder extends CoreRequestBuilder {
$concat = $func->concat(
$qb->createNamedParameter('%"'),
$func->concat($func->lower($fieldRight), $qb->createNamedParameter('"%'))
$func->concat($fieldRight, $qb->createNamedParameter('"%'))
);
return $expr->iLike($alias . '.' . $field, $concat);