fix #393, 修复待审元数据搜索后不显示标题问题

This commit is contained in:
wlx 2012-08-28 03:39:32 +00:00
parent 44c337ff7a
commit 77784c77ba
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class Admin_ReviewController extends Zend_Controller_Action
$keyword = $this->_request->getParam('keyword'); $keyword = $this->_request->getParam('keyword');
if(!empty($keyword)) if(!empty($keyword))
{ {
$sql = "select m.*,u.username,u.realname from mdstatus m $sql = "select m.*,md.title,u.username,u.realname from mdstatus m
right join metadata md on md.uuid=m.uuid right join metadata md on md.uuid=m.uuid
left join users u on u.id=m.userid left join users u on u.id=m.userid
where m.status=1 where m.status=1