+ [story#75285] init the count_of_activated_bug_in_execution metric.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
class count_of_activated_bug_in_execution extends baseCalc
|
||||
{
|
||||
public $dataset = 'getExecutionBugs';
|
||||
|
||||
public $fieldList = array('t1.status', 't1.execution');
|
||||
|
||||
public $result = array();
|
||||
|
||||
public function getResult($options = array())
|
||||
{
|
||||
$records = $this->getRecords(array('execution', 'value'));
|
||||
return $this->filterByOptions($records, $options);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user