mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 23:45:45 +01:00
feat: #3783, min/max tags per category
This commit is contained in:
@@ -160,6 +160,8 @@ Topics.getTopicWithPosts = async function (topicData, set, uid, start, stop, rev
|
||||
topicData.posts = posts;
|
||||
topicData.category = category;
|
||||
topicData.tagWhitelist = tagWhitelist[0];
|
||||
topicData.minTags = category.minTags;
|
||||
topicData.maxTags = category.maxTags;
|
||||
topicData.thread_tools = threadTools.tools;
|
||||
topicData.isFollowing = followData[0].following;
|
||||
topicData.isNotFollowing = !followData[0].following && !followData[0].ignoring;
|
||||
|
||||
Reference in New Issue
Block a user