@@ -611,6 +611,7 @@ class PostRepositories
} else {
$topic = $topic->join('category_topic', 'category_topic.topic_id', '=', 'topic.id')->select('topic.*', 'category_topic.id as cid');
$where[] = ['category_topic.category_id', $request['category_id']];
+ $where[] = ['topic.is_open', 1];
return $topic
->where($where)
->orderBy('cid', 'asc')