응답형 댓글의 잘못된 반업데이트 로직 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4299 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-06-19 04:01:16 +00:00
parent 85f0dabdd5
commit 8b49f6fc57
5 changed files with 42 additions and 12 deletions

View file

@ -0,0 +1,13 @@
<query id="getCommentParentNextSibling" action="select">
<tables>
<table name="comments_list" />
</tables>
<columns>
<column name="min(comments_list.arrange)" alias="arrange" />
</columns>
<conditions>
<condition operation="equal" column="comments_list.head" var="head" filter="number" notnull="notnull" />
<condition operation="excess" column="comments_list.arrange" var="arrange" filter="number" notnull="notnull" pipe="and" />
<condition operation="less" column="comments_list.depth" var="depth" filter="number" notnull="notnull" pipe="and" />
</conditions>
</query>