ticket #154 中实现uuid的搜索

This commit is contained in:
wlx 2011-09-16 06:20:57 +00:00
parent 34ad3d40fc
commit 992ebf6455
1 changed files with 2 additions and 1 deletions

View File

@ -413,6 +413,7 @@ class Admin_DownController extends Zend_Controller_Action
if(!empty($search) && !empty($keyword))
{
$select ->Where('m.title like ?','%'.$keyword.'%');
$select->orWhere('m.uuid=?',$keyword);
$this->view->title='“'.$keyword.'”的搜索结果 :';
}
$select ->group('m.title')