diff --git a/module/dataview/table/testtask.php b/module/dataview/table/testtask.php index 2e9e716717..b97aa52502 100644 --- a/module/dataview/table/testtask.php +++ b/module/dataview/table/testtask.php @@ -18,9 +18,9 @@ $schema->tables['testtask'] = 'zt_testtask'; $schema->joins = array(); $schema->joins['product'] = '`product`.`id` = `testtask`.`product`'; -$schema->joins['project'] = '`project`.`id` = `testtask`.`project`'; +$schema->joins['project'] = '`project`.`id` = CAST(`testtask`.`project` AS DECIMAL)'; $schema->joins['execution'] = '`execution`.`id` = `testtask`.`execution`'; -$schema->joins['build'] = '`build`.`id` = `testtask`.`build`'; +$schema->joins['build'] = '`build`.`id` = CAST(`testtask`.`build` AS DECIMAL)'; $schema->fields = array(); $schema->fields['product'] = array('type' => 'object', 'name' => $this->lang->testtask->product, 'object' => 'product', 'show' => 'product.name');