* adjust for create bug from case.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
<tr class='result-detail hide' id='tr-detail_<?php echo $trCount++; ?>'>
|
||||
<td colspan='7' class='pd-0'>
|
||||
<form action='<?php echo $this->createLink('bug', 'create', "product=$case->product&branch=$case->branch&extras=caseID=$case->id,version=$case->version,resultID=$result->id,runID=$runID")?>' target='_blank' method='post'>
|
||||
<form action='<?php echo $this->createLink('bug', 'create', "product=$case->product&branch=$case->branch&extras=caseID=$case->id,version=$case->version,resultID=$result->id,runID=$runID" . (isset($testtaskID) ? ",testtask=$testtaskID" : ''))?>' target='_blank' method='post'>
|
||||
<table class='table table-condensed borderless mg-0 resultSteps'>
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
$step->id = 0;
|
||||
$step->parent = 0;
|
||||
$step->case = $run->case->id;
|
||||
$step->type = 'item';
|
||||
$step->type = 'step';
|
||||
$step->desc = '';
|
||||
$step->expect = '';
|
||||
$run->case->steps[] = $step;
|
||||
|
||||
Reference in New Issue
Block a user