Public feed post query fix (ORDER BY DESC).
This commit is contained in:
parent
b8668c66ce
commit
53ac59e032
|
@ -42,6 +42,7 @@ class PostRepository extends EntityRepository
|
|||
->leftJoin('p.files', 'pf')
|
||||
->where('p.private = FALSE')
|
||||
->andWhere('pa.public = TRUE')
|
||||
->orderBy('p.createdAt', 'desc')
|
||||
;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue