최근 게시물 출력 위젯에 최신순으로 가져올 경우 공지사항의 속성을 무시하고 무조건 최근 순으로 가져오도록 수정.

widget에서 xml query를 이용할 수 있는 방법을 적용해서 직접 쿼리문을 실행해서 데이터 호출하는 코드 추가


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2376 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-22 08:38:32 +00:00
parent 59b2878587
commit f5fc930ec6
2 changed files with 57 additions and 4 deletions

View file

@ -0,0 +1,16 @@
<query id="getDocumentList" action="select">
<tables>
<table name="documents" />
</tables>
<columns>
<column name="*" />
</columns>
<conditions>
<condition operation="in" column="module_srl" var="module_srl" filter="number" />
<condition operation="equal" column="category_srl" var="category_srl" pipe="and" />
</conditions>
<navigation>
<index var="sort_index" default="document_srl" order="order_type" />
<list_count var="list_count" default="20" />
</navigation>
</query>