Fixed bug (again)

This commit is contained in:
dbroqua 2020-01-07 16:29:17 +01:00
parent 8df18880cb
commit 95ee015b36

View file

@ -72,7 +72,9 @@ class When extends Queries {
const artists = [] const artists = []
const songs = [] const songs = []
this.models.Histories this.models.Histories
.find(this.filter) .find({
createdAt: this.filter.createdAt
})
.sort({ .sort({
artist: 'desc' artist: 'desc'
}) })