We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f2095 commit 2ba7edbCopy full SHA for 2ba7edb
app/models/maintenance_tasks/task_data.rb
@@ -40,7 +40,7 @@ def find(name)
40
def available_tasks
41
task_names = Task.available_tasks.map(&:name)
42
available_task_runs = Run.where(task_name: task_names)
43
- last_runs = Run.where(
+ last_runs = Run.with_attached_csv.where(
44
id: available_task_runs.select("MAX(id) as id").group(:task_name)
45
)
46
0 commit comments