ticket #154 中实现uuid的搜索
This commit is contained in:
parent
34ad3d40fc
commit
992ebf6455
|
@ -412,7 +412,8 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
->where('o.uuid = m.uuid and (o.status=0 or o.status=5)');
|
||||
if(!empty($search) && !empty($keyword))
|
||||
{
|
||||
$select ->Where('m.title like ? ','%'.$keyword.'%');
|
||||
$select ->Where('m.title like ?','%'.$keyword.'%');
|
||||
$select->orWhere('m.uuid=?',$keyword);
|
||||
$this->view->title='“'.$keyword.'”的搜索结果 :';
|
||||
}
|
||||
$select ->group('m.title')
|
||||
|
|
Loading…
Reference in New Issue