Add order lost in refactoring
This commit is contained in:
parent
834264ebc6
commit
31156dd482
|
@ -81,7 +81,8 @@ extension AccountRecord {
|
|||
request(for: Self.hasMany(
|
||||
StatusRecord.self,
|
||||
through: Self.statusJoins.filter(AccountStatusJoin.Columns.collection == collection.rawValue),
|
||||
using: AccountStatusJoin.status)))
|
||||
using: AccountStatusJoin.status)
|
||||
.order(StatusRecord.Columns.createdAt.desc)))
|
||||
}
|
||||
|
||||
init(account: Account) {
|
||||
|
|
Loading…
Reference in New Issue