This commit is contained in:
Martin Müller 2014-04-29 20:56:27 +02:00
parent 89f2eaca14
commit 040cf617f1
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ class SearchController extends AppController {
$this->MiconwareSession->initWeb($this);
$profil = $this->MiconwareSession->getCompany();
if(!empty($profil) and count($profil) > 0){
//TODO iam
$workers = $this->DreamjobWorker->find('all',array('conditions' => array('DreamjobWorker.searchhidden'=>false)));
$this->set("workers",$workers);
$this->render('/Search/worker');