This commit is contained in:
tomash 2006-08-28 01:29:07 +00:00
parent 0d07f154d6
commit ebe9f18c24
1 changed files with 4 additions and 0 deletions

View File

@ -162,6 +162,10 @@ class Transport
) as $k){
$res[$k] = ( isset($trec->row[$k]) ? $trec->row[$k] : NULL );
}
// do not return finished on finished search job upload
// - whole search is NOT finished
if($res['trtype'] == "searchjob" && $res['direction'] == "up" &&
$res['state'] == "finished"){ $res['state'] = "waiting"; }
return $res;
}