From bf900e824f2c661df6380fd0360c13377da58bae Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 31 May 2006 01:00:38 +0000 Subject: Fixed a few issues with the blog system. --- demos/blog/protected/Pages/Admin/PostMan.page | 2 +- demos/blog/protected/Pages/Admin/PostMan.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/blog/protected/Pages/Admin') diff --git a/demos/blog/protected/Pages/Admin/PostMan.page b/demos/blog/protected/Pages/Admin/PostMan.page index 8c78574c..68ac44f8 100644 --- a/demos/blog/protected/Pages/Admin/PostMan.page +++ b/demos/blog/protected/Pages/Admin/PostMan.page @@ -60,7 +60,7 @@ PostGrid->CurrentPageIndex*$this->PostGrid->PageSize; $limit=$this->PostGrid->PageSize; - $this->PostGrid->DataSource=$this->DataAccess->queryPosts('','','ORDER BY a.status DESC, create_time DESC',"LIMIT $offset,$limit"); + $this->PostGrid->DataSource=$this->DataAccess->queryPosts('','','ORDER BY a.status DESC, modify_time DESC',"LIMIT $offset,$limit"); $this->PostGrid->VirtualItemCount=$this->DataAccess->queryPostCount('',''); $this->PostGrid->dataBind(); } -- cgit v1.2.3