Mark a job as seen when i've seen the results

This commit is contained in:
Karsten Heiken
2011-09-29 09:09:32 +02:00
parent 4e8a56d6ba
commit 1fc8c70c72

View File

@@ -76,6 +76,10 @@ class Results extends MY_Controller {
$data['project'] = $this->project->getById($experiment['project_id']);
$data['results'] = $results;
// mark the project as seen
$job = $this->job->getByExperimentId($experimentId);
$this->job->markSeen($job['id']);
$this->load->view('results/experiment', $data);
}