From 515a59c9decdedff57eeea0eb42bcf0f4ca84e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Wed, 17 Jun 2026 15:59:42 +0200 Subject: [PATCH] updated fields to have proper data --- server/admin.api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/admin.api.js b/server/admin.api.js index 1d9b5a2bd..d0676f47f 100644 --- a/server/admin.api.js +++ b/server/admin.api.js @@ -45,7 +45,7 @@ export default function createAdminApi(vite) { updatedAt : { $lt: Moment().subtract(30, 'days').toDate() }, lastViewed : { $lt: Moment().subtract(30, 'days').toDate() } } }, - { $project: { _id: 1, textBinSize: { $binarySize: '$textBin' } } }, + { $project: { _id: 1, textBinSize: { $binarySize: '$textBin' }, updatedAt: 1, lastViewed: 1} }, { $match: { textBinSize: { $lt: 140 } } }, { $limit: 300 } ];