no message
This commit is contained in:
parent
67b009efcd
commit
f02639b426
1 changed files with 1 additions and 2 deletions
|
|
@ -33,10 +33,9 @@ namespace RdtClient.Data.Data
|
||||||
var results = await _dataContext.Torrents
|
var results = await _dataContext.Torrents
|
||||||
.AsNoTracking()
|
.AsNoTracking()
|
||||||
.Include(m => m.Downloads)
|
.Include(m => m.Downloads)
|
||||||
.OrderByDescending(m => m.Added)
|
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
|
||||||
return results;
|
return results.OrderByDescending(m => m.Added).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<Torrent> GetById(Guid torrentId)
|
public async Task<Torrent> GetById(Guid torrentId)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue