Commit b68c03fe authored by Mac Newbold's avatar Mac Newbold

Fix a nit with the project list... swapped expts don't count as running expts.

parent 48385f00
......@@ -78,7 +78,8 @@ $ncounts = array();
$query_result =
DBQueryFatal("select e.pid, count(distinct e.eid) as ecount ".
"from experiments as e group by e.pid");
"from experiments as e where state!='$TB_EXPTSTATE_SWAPPED' ".
"group by e.pid");
while ($row = mysql_fetch_array($query_result)) {
$pid = $row[0];
......
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