Sort items descendantly by publication date

This commit is contained in:
Shinokuni 2021-07-04 13:24:36 +02:00
parent 42cb3adee9
commit 2c7e5de294

View File

@ -21,7 +21,7 @@ object ItemsQueryBuilder {
private const val SEPARATE_STATE_JOIN = "LEFT JOIN ItemState On Item.remoteId = ItemState.remote_id"
private const val ORDER_BY_ASC = "Item.id DESC"
private const val ORDER_BY_ASC = "pub_date DESC"
private const val ORDER_BY_DESC = "pub_date ASC"