$p->applyFilters(array(), $this->authUser);
$p->whereAdd('id in (SELECT distinct(project_id) FROM mtrack_repos)');
$p->orderBy('Projects.name ASC');
+ unset($p->client_id); // default projects serach enforces this..
$ar = $p->fetchAll('id', 'name');
}
$this->elements['active_project_id'] = new HTML_Template_Flexy_Element();
$this->elements['active_project_id']->setOptions($ar);
-
$this->elements['active_project_id']->setValue($this->currentProject());