mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
fix groups reference
This commit is contained in:
@@ -112,7 +112,9 @@ module.exports = function (Topics) {
|
||||
if (params.term === 'alltime' && !params.cids && !params.tags.length && params.filter !== 'watched' && !params.floatPinned) {
|
||||
return tids;
|
||||
}
|
||||
const topicData = await Topics.getTopicsFields(tids, ['tid', 'lastposttime', 'upvotes', 'downvotes', 'postcount', 'pinned']);
|
||||
const topicData = await Topics.getTopicsFields(tids, [
|
||||
'tid', 'lastposttime', 'upvotes', 'downvotes', 'postcount', 'pinned',
|
||||
]);
|
||||
const sortMap = {
|
||||
recent: sortRecent,
|
||||
old: sortOld,
|
||||
|
||||
Reference in New Issue
Block a user