This commit is contained in:
Sulka Haro
2023-02-25 11:20:45 +02:00
parent 97a4ee7a01
commit 32b2376bc9
-5
View File
@@ -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) {