Skip to content

Commit

Permalink
Merge branch 'bareos-15.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Oct 16, 2015
2 parents 5b254e8 + d390b13 commit eae0989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cats/sql_cmds.c
Expand Up @@ -98,15 +98,15 @@ const char *list_jobs =

const char *list_jobs_count =
"SELECT DISTINCT "
"COUNT(*) as count "
"COUNT(DISTINCT Job.JobId) as count "
"FROM Job "
"LEFT JOIN Client ON Client.ClientId=Job.ClientId "
"LEFT JOIN JobMedia ON JobMedia.JobId=Job.JobId "
"LEFT JOIN Media ON JobMedia.MediaId=Media.MediaId "
"LEFT JOIN FileSet ON FileSet.FileSetId=Job.FileSetId "
"WHERE Job.JobId > 0 "
"%s "
"ORDER BY StartTime%s";
"%s";

const char *list_jobs_long =
"SELECT DISTINCT "
Expand Down

0 comments on commit eae0989

Please sign in to comment.