Commit 56346ee1 authored by Andreas Heimann's avatar Andreas Heimann

don't display unupdated charts in updated

parent a7b67c91
......@@ -33,6 +33,7 @@ class SongRepository extends ServiceEntityRepository
$qb = $this->createQueryBuilder("e");
$qb
->where('e.publicationStatus = 0')
->andWhere('e.updateDate != e.uploadDate')
->orderBy('e.updateDate', 'DESC')
->addOrderBy('e.uploadDate', 'DESC')
->setFirstResult(10 * $page)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment