Fix #1021 hide secret documents and comments from search

게시판에서 검색할 때 아래의 경우에는 비밀글을 제외

  - 내용
  - 제목+내용
  - 댓글

댓글 검색시 비밀댓글도 제외
This commit is contained in:
Kijin Sung 2018-05-30 22:47:00 +09:00
parent fad9400793
commit 7b8bea5923
3 changed files with 10 additions and 0 deletions

View file

@ -19,6 +19,7 @@
<condition operation="below" column="documents.list_order" var="last_division" pipe="and" />
</group>
<condition operation="like" column="comments.content" var="s_comment" notnull="notnull" pipe="and" />
<condition operation="equal" column="comments.is_secret" var="comment_is_secret" pipe="and" />
</conditions>
<navigation>
<index var="sort_index" default="comments.list_order" order="asc" />