From c48aa8b34f32dce57ace915ee94c4f525fd49a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Gro=C3=9F?= Date: Mon, 3 Apr 2023 15:30:38 +0200 Subject: [PATCH] Docs: Add docs to collection command --- commands/collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/collection.js b/commands/collection.js index f9d698b..27beda2 100644 --- a/commands/collection.js +++ b/commands/collection.js @@ -162,7 +162,7 @@ module.exports = { if (group) { filter["attributes"] = ["characterId", [Card.sequelize.fn("COUNT", "characterId"), "count"]]; filter["order"] = [[Card.sequelize.literal("count"), "DESC"]]; - filter["group"] = ["characterId"]; + filter["group"] = ["characterId"]; //Group based on characterID } if (filterParam["character"]) {