Commit 0a9168d7 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

pre_process/info.html get most recent scheduler_run

when editing files, pre_processes can be run again, so we want to fetch
the most recent one.
parent 47afcd51
......@@ -7,7 +7,7 @@
sequence_file_id = request.vars["sequence_file_id"]
sequence_file = db.sequence_file[sequence_file_id]
run = db(db.scheduler_run.task_id == sequence_file.pre_process_scheduler_task_id).select().first()
run = db(db.scheduler_run.task_id == sequence_file.pre_process_scheduler_task_id).select(orderby=~db.scheduler_run.stop_time).first()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment