suche
This commit is contained in:
parent
bdf9ede9b2
commit
645ed14ac3
|
@ -58,7 +58,7 @@ class SearchController extends AppController {
|
||||||
$con['DreamjobJobOpening.branch_id']=$this->request->data['DreamjobJobOpening']['branch_id'];
|
$con['DreamjobJobOpening.branch_id']=$this->request->data['DreamjobJobOpening']['branch_id'];
|
||||||
|
|
||||||
if(!empty($this->request->data['DreamjobJobOpening']['city']) and $this->request->data['DreamjobJobOpening']['city'] != 48){
|
if(!empty($this->request->data['DreamjobJobOpening']['city']) and $this->request->data['DreamjobJobOpening']['city'] != 48){
|
||||||
$con['DreamjobJobOpening.city LIKE']=$this->DreamjobListCity->find('first',array('conditions' => array('id'=>$this->request->data['DreamjobJobOpening']['city']));
|
$con['DreamjobJobOpening.city LIKE']=$this->DreamjobListCity->find('first',array('conditions' => array('id'=>$this->request->data['DreamjobJobOpening']['city'])));
|
||||||
$con['DreamjobJobOpening.city LIKE']='%'.$con['DreamjobJobOpening.city LIKE']['DreamjobListCity']['name'].'%';
|
$con['DreamjobJobOpening.city LIKE']='%'.$con['DreamjobJobOpening.city LIKE']['DreamjobListCity']['name'].'%';
|
||||||
}
|
}
|
||||||
if(!empty($this->request->data['DreamjobJobOpening']['title']))
|
if(!empty($this->request->data['DreamjobJobOpening']['title']))
|
||||||
|
|
Loading…
Reference in New Issue