mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
문서의 검색, 확장변수와 관련된 비효율적인 코드 정리
- setToAllDocumentExtraVars() 최적화 - 확장변수(-1, -2)를 이용한 문서 다국어 기능 관련 버그 수정 및 개선 - getDocumentList() 최적화 (비효율적인 코드 대거 삭제) - _setSortIndex(), _setSearchOption() 최적화 (확장 변수 관련 쿼리들 정리) - 권한자가 아니라면 공개글만 검색되도록 개선 (검색 옵션과 상관없이) --- 문서 검색(제목+내용,내용,댓글)시 권한자도 비밀글을 검색할 수 없었던 문제 수정 - 'NOTICE Undefined variable' 조차 발생되지 않도록 getGrant() 수정 - '(포인트가 부족한 경우) 글 열람 금지' 옵션 사용시 본문 뿐만 아니라 확장 변수도 볼 수 없도록 숨김 - 기타 버그 수정 (많이 잡은 것 같은 데 정확히 기억안남ㅠ)
This commit is contained in:
parent
6c28f5ac5a
commit
9fb23bd3dd
14 changed files with 544 additions and 603 deletions
|
|
@ -11,6 +11,7 @@
|
|||
<condition operation="notin" column="documents.module_srl" var="exclude_module_srl" filter="number" pipe="and" />
|
||||
<condition operation="equal" column="documents.category_srl" var="category_srl" pipe="and" />
|
||||
<condition operation="equal" column="documents.document_srl" default="comments.document_srl" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="documents.is_notice" var="s_is_notice" pipe="and" />
|
||||
<condition operation="in" column="documents.member_srl" var="member_srl" filter="number" pipe="and" />
|
||||
<condition operation="in" column="documents.status" var="statusList" pipe="and" />
|
||||
<group pipe="and">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue