List bug test cases instead of case-runs
git-svn-id: svn://10.0.0.236/trunk@216454 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f819acd422
commit
0860b44fd9
@ -560,12 +560,22 @@ sub init {
|
||||
$f = "milestones.value";
|
||||
},
|
||||
"^bug," => sub {
|
||||
if ($obj eq 'case_run'){
|
||||
push(@supptables,
|
||||
"INNER JOIN test_case_bugs AS case_bugs " .
|
||||
"ON test_case_runs.case_run_id = case_bugs.case_run_id");
|
||||
push(@supptables,
|
||||
"INNER JOIN bugs ".
|
||||
"ON case_bugs.bug_id = bugs.bug_id");
|
||||
}
|
||||
elsif($obj eq 'case'){
|
||||
push(@supptables,
|
||||
"INNER JOIN test_case_bugs AS case_bugs " .
|
||||
"ON test_cases.case_id = case_bugs.case_id");
|
||||
push(@supptables,
|
||||
"INNER JOIN bugs ".
|
||||
"ON case_bugs.bug_id = bugs.bug_id");
|
||||
}
|
||||
$f = "bugs.bug_id";
|
||||
},
|
||||
"^case_summary," => sub {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
[%# 1.0@bugzilla.org %]
|
||||
|
||||
|
|
||||
<a href="tr_list_caseruns.cgi?bug_id=[% bug.bug_id FILTER none %]¤t_tab=case_run">View [% terms.Bug %] Test Case Runs</a>
|
||||
<a href="tr_list_cases.cgi?bug_id=[% bug.bug_id FILTER none %]¤t_tab=case">View [% terms.Bug %] Test Cases</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user