作者 刘锟

Merge remote-tracking branch 'origin/master' into akun

@@ -138,11 +138,15 @@ class OnlineController extends BaseController @@ -138,11 +138,15 @@ class OnlineController extends BaseController
138 $query->where('gl_project.title', 'like', '%' . $this->map['search'] . '%'); 138 $query->where('gl_project.title', 'like', '%' . $this->map['search'] . '%');
139 } 139 }
140 } 140 }
141 - if(isset($this->map['qa_status']) && !empty($this->map['qa_status'])){ 141 + if(isset($this->map['qa_status'])){
142 // 搜索状态 142 // 搜索状态
143 $query->where('gl_project_online_check.qa_status',$this->map['qa_status']); 143 $query->where('gl_project_online_check.qa_status',$this->map['qa_status']);
144 } 144 }
145 - if(isset($this->map['optimist_status']) && !empty($this->map['optimist_status'])){ 145 + if(isset($this->map['all_status'])){
  146 + // 搜索状态
  147 + $query->where('gl_project_online_check.qa_status',$this->map['qa_status']);
  148 + }
  149 + if(isset($this->map['optimist_status'])){
146 // 搜索状态 150 // 搜索状态
147 $query->where('gl_project_online_check.optimist_status',$this->map['optimist_status']); 151 $query->where('gl_project_online_check.optimist_status',$this->map['optimist_status']);
148 } 152 }