Docs: Add docs to collection command

This commit is contained in:
2023-04-03 15:30:38 +02:00
parent 3ac10c6e24
commit c48aa8b34f

View File

@@ -162,7 +162,7 @@ module.exports = {
if (group) { if (group) {
filter["attributes"] = ["characterId", [Card.sequelize.fn("COUNT", "characterId"), "count"]]; filter["attributes"] = ["characterId", [Card.sequelize.fn("COUNT", "characterId"), "count"]];
filter["order"] = [[Card.sequelize.literal("count"), "DESC"]]; filter["order"] = [[Card.sequelize.literal("count"), "DESC"]];
filter["group"] = ["characterId"]; filter["group"] = ["characterId"]; //Group based on characterID
} }
if (filterParam["character"]) { if (filterParam["character"]) {