对邮件欧版按修改时间进行排序

This commit is contained in:
wlx 2012-05-09 12:30:32 +00:00
parent e01020a9ac
commit ae6390c25f
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class Admin_SysController extends Zend_Controller_Action
else
{
try{
$sql = "select id,subject,template,ts_created,ts_changed from emailtext";
$sql = "select id,subject,template,ts_created,ts_changed from emailtext order by ts_changed desc";
$rs = $this->db->query($sql);
$rows = $rs->fetchAll();