Fix recent jobs

This commit is contained in:
Eike Foken
2011-08-31 10:16:54 +02:00
parent ad19320ad9
commit f87ebc828f
3 changed files with 4 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ class Job extends CI_Model {
public function getRecent($projectId = '') {
$this->db->select('jobs.*, trials.project_id, trials.name');
$this->db->join('trials', 'jobs.trial_id = trials.id', 'left');
$this->db->where('finished_at', 0);
//$this->db->where('finished_at', 0);
if (!empty($projectId)) {
$this->db->where('project_id', $projectId);