mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-06 00:39:31 +00:00
Add order lost in refactoring
This commit is contained in:
parent
834264ebc6
commit
31156dd482
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue