소스 검색

Merge branch 'develop'

wzq 5 년 전
부모
커밋
7b68516884
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Repositories/PostRepositories.php

+ 1 - 0
app/Repositories/PostRepositories.php

@@ -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')