Skip to content

Commit

Permalink
Add job name to jobsearch (#214)
Browse files Browse the repository at this point in the history
return user supplied jobname in search
  • Loading branch information
plessbd authored Feb 13, 2020
1 parent 9c48adc commit 7168124
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions classes/DataWarehouse/Query/SUPREMM/RawData.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ public function __construct(
$this->addTable( $joblistTable );
$this->addTable( $factTable );

$jobnameTable = new Table(new Schema('modw_supremm'), "job_name", "jn" );
$this->addWhereCondition(new WhereCondition(new TableField($factTable, "jobname_id"), '=', new TableField($jobnameTable, "id") ));
$this->addField(new TableField($jobnameTable, 'name', 'job_name'));
$this->addTable($jobnameTable );

$this->addWhereCondition(new WhereCondition( new TableField($joblistTable, "agg_id"), "=",
new TableField($dataTable, "id") ));
$this->addWhereCondition(new WhereCondition( new TableField($joblistTable, "jobid"), "=",
Expand Down

0 comments on commit 7168124

Please sign in to comment.