mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Sort not by count
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ module.exports = class ActionsService {
|
||||
{$match},
|
||||
{$group},
|
||||
{$project},
|
||||
{$sort: {count: -1, action_type: 1, group_id: 1}},
|
||||
{$sort: {action_type: 1, group_id: 1}},
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user