Wiki에 계층보기 기능 추가 (글쓰기 권한이 있는 사용자가 문서들을 tree구조로 바꿀 수 있도록 함)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6637 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-06-22 09:16:53 +00:00
parent c40d10f686
commit 461144c955
22 changed files with 431 additions and 4 deletions

View file

@ -0,0 +1,21 @@
<query id="getTreeNode" action="select">
<tables>
<table name="documents" alias="doc"/>
<table name="document_categories" alias="category" type="left join">
<conditions>
<condition operation="equal" column="category.category_srl" default="doc.document_srl" />
</conditions>
</table>
</tables>
<columns>
<column name="category.parent_srl" alias="parent_srl" />
<column name="category.category_srl" alias="is_exists" />
<column name="doc.module_srl" alias="module_srl" />
<column name="doc.title" alias="title" />
<column name="doc.document_srl" alias="document_srl" />
<column name="doc.list_order" alias="list_order" />
</columns>
<conditions>
<condition operation="equal" column="doc.document_srl" var="source_srl" filter="number" notnull="notnull" />
</conditions>
</query>