Skip to content

Commit

Permalink
Fix the 'Flush Task Runs' page
Browse files Browse the repository at this point in the history
  • Loading branch information
othieno committed Jul 29, 2016
1 parent 7767462 commit 795cbb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geotagx/view/geotagx.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,14 +283,15 @@ def flush_task_runs(project_short_name, confirmed):
elif confirmed == "unconfirmed":
# Obtain data required by the project profile renderer
(project, owner, n_tasks, n_task_runs,
overall_progress, last_activity) = projects_view.project_by_shortname(project_short_name)
overall_progress, last_activity, n_results) = projects_view.project_by_shortname(project_short_name)
return render_template('geotagx/projects/delete_task_run_confirmation.html',
project=project,
owner=owner,
n_tasks=n_tasks,
n_task_runs=n_task_runs,
overall_progress=overall_progress,
last_activity=last_activity,
n_results=n_results,
n_completed_tasks=cached_projects.n_completed_tasks(project.id),
n_volunteers=cached_projects.n_volunteers(project.id))
else:
Expand Down

0 comments on commit 795cbb4

Please sign in to comment.