Skip to content

Commit

Permalink
Fixes #7910
Browse files Browse the repository at this point in the history
  • Loading branch information
sulkaharo committed Feb 25, 2023
1 parent 97a4ee7 commit 32b2376
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/api/entries/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,6 @@ function configure (app, wares, ctx, env) {
});
} else {
inMemoryCollection = ctx.cache.getData('entries');

inMemoryCollection = _.sortBy(inMemoryCollection, function(item) {
const age = item.mills | item.date;
return age;
}).reverse();
}

if (inMemoryPossible && query.count <= inMemoryCollection.length) {
Expand Down

0 comments on commit 32b2376

Please sign in to comment.