Commit fd400e47 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Do not show paused batch jobs in the batch list; they are just swapped

out experiments.
parent 3bfe6ad6
...@@ -88,7 +88,8 @@ elseif (! strcmp($showtype, "active")) { ...@@ -88,7 +88,8 @@ elseif (! strcmp($showtype, "active")) {
$active = 1; $active = 1;
} }
elseif (! strcmp($showtype, "batch")) { elseif (! strcmp($showtype, "batch")) {
$clause = "e.batchmode=1"; $clause = "(e.batchmode=1 and e.batchstate!='" .
TBDB_BATCHSTATE_PAUSED . "')";
$title = "Batch"; $title = "Batch";
} }
elseif ((!strcmp($showtype, "idle")) && $isadmin ) { elseif ((!strcmp($showtype, "idle")) && $isadmin ) {
......
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