Aggiunto filtro numMaxPeopleHosp

This commit is contained in:
Paolo Arena
2022-05-08 13:19:49 +02:00
parent 7b61734aef
commit 6bee532b9b
3 changed files with 21 additions and 7 deletions

View File

@@ -2822,13 +2822,6 @@ UserSchema.statics.calculateStat = async function(idapp, username) {
{deleted: {$exists: true, $eq: false}}],
});
const numMySkills = await MySkill.countDocuments({idapp});
const numMyGoods = await MyGood.countDocuments({idapp});
const numMyBachecas = await MyBacheca.countDocuments({idapp});
const numGroups = await MyGroup.countDocuments({idapp});
let numByTab = {};
const globalTables = require('../tools/globalTables');