зеркало из https://github.com/mozilla/gecko-dev.git
Status list was missing from filter if no caseruns found
This commit is contained in:
Родитель
9b5f65a34f
Коммит
db6c7483ea
|
@ -615,7 +615,7 @@ sub copy_permissions {
|
|||
WHERE plan_id = ?",undef, $self->id);
|
||||
|
||||
$dbh->do("INSERT INTO test_plan_permissions_regexp (plan_id, user_regexp, permissions)
|
||||
VALUES(?,?,?)", undef,($planid, $regexp, $perms));
|
||||
VALUES(?,?,?)", undef,($planid, $regexp, $perms)) if $regexp;
|
||||
|
||||
my $ref = $dbh->selectall_arrayref(
|
||||
"SELECT userid, permissions
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
<tr>
|
||||
<td valign="top">
|
||||
[% PROCESS select sel = { name => "case_run_status_id",
|
||||
list => table.list.0.get_status_list,
|
||||
list => caserun.get_status_list,
|
||||
elements => 6,
|
||||
mult => 1, }
|
||||
%]
|
||||
|
@ -133,7 +133,7 @@
|
|||
</td>
|
||||
<td valign="top">
|
||||
[% PROCESS select sel = { name => "priority_id",
|
||||
list => table.list.0.case.get_priority_list,
|
||||
list => case.get_priority_list,
|
||||
elements => 6,
|
||||
mult => 1, }
|
||||
%]
|
||||
|
|
|
@ -418,6 +418,8 @@ sub display {
|
|||
my $case = Bugzilla::Testopia::TestCase->new({'case_id' => 0});
|
||||
$vars->{'expand_report'} = $cgi->param('expand_report') || 0;
|
||||
$vars->{'expand_filter'} = $cgi->param('expand_filter') || 0;
|
||||
$vars->{'caserun'} = Bugzilla::Testopia::TestCaseRun->new({});
|
||||
$vars->{'case'} = Bugzilla::Testopia::TestCase->new({});
|
||||
$vars->{'run'} = $run;
|
||||
$vars->{'table'} = $table;
|
||||
$vars->{'action'} = 'Commit';
|
||||
|
|
Загрузка…
Ссылка в новой задаче