fix: don't sort needlessly

This commit is contained in:
Anna 2021-10-08 18:33:23 -04:00
parent db275f9dfd
commit d9a4b9b29a
1 changed files with 1 additions and 9 deletions

View File

@ -153,17 +153,9 @@ fn listings(state: Arc<State>) -> BoxedFilter<(impl Reply, )> {
},
doc! {
"$match": {
"time_left": {
"$gte": 0,
},
"time_left": { "$gte": 0 },
}
},
doc! {
"$sort": {
"updated_minute": -1,
"time_left": 1,
}
}
],
None,
)