From 32b2376bc99081b503527f79193dbc4684188c25 Mon Sep 17 00:00:00 2001 From: Sulka Haro Date: Sat, 25 Feb 2023 11:20:45 +0200 Subject: [PATCH] Fixes #7910 --- lib/api/entries/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/api/entries/index.js b/lib/api/entries/index.js index 21b59aa9..0f1113ab 100644 --- a/lib/api/entries/index.js +++ b/lib/api/entries/index.js @@ -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) {