mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: #7934, return tids
This commit is contained in:
@@ -75,7 +75,7 @@ module.exports = function (Topics) {
|
||||
|
||||
async function sortTids(tids, params) {
|
||||
if (params.term === 'alltime' && !params.cids && params.filter !== 'watched' && !params.floatPinned) {
|
||||
return;
|
||||
return tids;
|
||||
}
|
||||
const topicData = await Topics.getTopicsFields(tids, ['tid', 'lastposttime', 'upvotes', 'downvotes', 'postcount', 'pinned']);
|
||||
let sortFn = sortRecent;
|
||||
|
||||
Reference in New Issue
Block a user