issue 160 temp document not show in newest mcontent widget

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9394 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-09-28 07:51:35 +00:00
parent 39cbf6da40
commit 9c21e52f78

View file

@ -197,6 +197,7 @@
$obj->sort_index = $args->order_target;
$obj->order_type = $args->order_type=="desc"?"asc":"desc";
$obj->list_count = $args->list_count;
$obj->statusList = array('PUBLIC');
$output = executeQueryArray('widgets.content.getNewestDocuments', $obj);
if(!$output->toBool() || !$output->data) return;
// If the result exists, make each document as an object