kopia lustrzana https://github.com/nextcloud/social
replace rightJoin -> join
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/143/head
rodzic
7afb4e5a7e
commit
a58dbbc3d5
|
@ -401,6 +401,7 @@ class CoreRequestBuilder {
|
|||
if ($since > 0) {
|
||||
$dTime = new \DateTime();
|
||||
$dTime->setTimestamp($since);
|
||||
// This line stuck on sqlite
|
||||
$this->limitToDBFieldDateTime($qb, 'published_time', $dTime);
|
||||
}
|
||||
|
||||
|
|
|
@ -161,7 +161,9 @@ class NotesRequestBuilder extends CoreRequestBuilder {
|
|||
)
|
||||
);
|
||||
|
||||
$qb->rightJoin(
|
||||
// TODO: SQLite does not support RIGHT JOIN
|
||||
// $qb->rightJoin(
|
||||
$qb->join(
|
||||
$this->defaultSelectAlias, CoreRequestBuilder::TABLE_SERVER_FOLLOWS, 'f',
|
||||
$orX
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue