From 74b35d99bff5f5cffe665f07e6411297c2e3c202 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Sun, 24 Jul 2011 18:55:24 +0200 Subject: [PATCH] bacula-web: Added job endtime for last know good backup job in client report page --- gui/bacula-web/client-report.php | 2 +- gui/bacula-web/templates/client-report.tpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gui/bacula-web/client-report.php b/gui/bacula-web/client-report.php index 94c1a04b47..8211c66251 100644 --- a/gui/bacula-web/client-report.php +++ b/gui/bacula-web/client-report.php @@ -49,7 +49,7 @@ $client = $dbSql->getClientInfos($clientid); // Client's backup jobs - $query = 'SELECT Job.Name, Job.Jobid, Job.Level, Job.Jobbytes, Job.Jobfiles, Status.JobStatusLong FROM Job '; + $query = 'SELECT Job.Name, Job.Jobid, Job.Level, Job.Endtime, Job.Jobbytes, Job.Jobfiles, Status.JobStatusLong FROM Job '; $query .= "LEFT JOIN Status ON Job.JobStatus = Status.JobStatus "; $query .= "WHERE Job.ClientId = '$clientid' AND Job.JobStatus = 'T' "; $query .= 'ORDER BY Job.EndTime DESC '; diff --git a/gui/bacula-web/templates/client-report.tpl b/gui/bacula-web/templates/client-report.tpl index 96eb86a6fe..1d184372fd 100644 --- a/gui/bacula-web/templates/client-report.tpl +++ b/gui/bacula-web/templates/client-report.tpl @@ -38,6 +38,7 @@ Name Jod Id Level + End time Bytes Files Status @@ -47,6 +48,7 @@ {$job.name} {$job.jobid} {$job.level} + {$job.endtime} {$job.jobbytes} {$job.jobfiles} {$job.jobstatuslong} -- 2.39.5