fix error
This commit is contained in:
parent
e24d2472b6
commit
0b9de786bb
|
@ -1145,7 +1145,7 @@ class Admin_DownController extends Zend_Controller_Action
|
||||||
$select=$this->db->select();
|
$select=$this->db->select();
|
||||||
$select->from('dataorder as o','count(o.id) as num')
|
$select->from('dataorder as o','count(o.id) as num')
|
||||||
->join($submd.' as m', 'o.uuid = m.uuid', array('title','uuid'))
|
->join($submd.' as m', 'o.uuid = m.uuid', array('title','uuid'))
|
||||||
->where('o.uuid = m.uuid and (o.status=0 or o.status=5)')
|
->where('o.uuid = m.uuid and (o.status=0 or o.status=5)');
|
||||||
if(!empty($search) && !empty($keyword))
|
if(!empty($search) && !empty($keyword))
|
||||||
{
|
{
|
||||||
$select ->Where('m.title like ? or m.title_en like ?','%'.$keyword.'%');
|
$select ->Where('m.title like ? or m.title_en like ?','%'.$keyword.'%');
|
||||||
|
|
Loading…
Reference in New Issue