Sort review queue by date

This commit is contained in:
Nassim Jahnke 2023-04-20 12:00:08 +02:00
parent d45ab803f9
commit 047c5383a2
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -77,7 +77,8 @@ public interface HangarReviewsDAO {
" WHERE pv.review_state = :reviewState AND" +
" p.visibility != 4 AND" +
" pv.visibility != 4" +
" GROUP BY pv.id, p.id, pvu.id, pc.id, pvr.id, ru.id")
" GROUP BY pv.id, p.id, pvu.id, pc.id, pvr.id, ru.id" +
" ORDER BY pv.created_at")
List<HangarReviewQueueEntry> getReviewQueue(@EnumByOrdinal ReviewState reviewState);
@SqlQuery("""