Commit 49d63d7d authored by Marcin Haba's avatar Marcin Haba
Browse files

baculum: Fix sources endpoint double results

parent 73574390
......@@ -37,7 +37,7 @@ class SourceManager extends APIModule {
$limit = ' LIMIT ' . $limit_val;
}
$where = Database::getWhere($criteria, true);
$sql = 'SELECT
$sql = 'SELECT DISTINCT
sres.fileset, sres.client, sres.job, ores.starttime, ores.jobid, jres.jobstatus
FROM Job AS jres,
(
......
Supports Markdown
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