Skip to content

Commit

Permalink
web: Remove columns running and inq in finished groups view
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Aug 11, 2015
1 parent bc2ceb4 commit 7f76d80
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions web/pages/mxq/mxq
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,32 @@ sub group_table {
$sth->execute(@bind_args);
$out.=group_table_rows($sth,\@head);

@cols=qw(
group_id
group_name
user_name
group_mtime
group_status
group_jobs
group_jobs_finished
group_jobs_failed
group_jobs_cancelled
group_jobs_unknown
);

@head=qw(
group_id
group_name
user_name
group_mtime
group_status
jobs
finished
failed
cancelled
unknown
);

$out .= '<h2>Finished Groups</h2>';

my $sth=$dbh->prepare('SELECT '.join(',',@cols).' FROM mxq_group WHERE '.$sql_clause.' AND (group_jobs_running=0 AND group_jobs_inq=0) ORDER BY group_id DESC');
Expand Down

0 comments on commit 7f76d80

Please sign in to comment.