diff options
Diffstat (limited to 'extensions/Needinfo')
-rw-r--r-- | extensions/Needinfo/Extension.pm | 5 | ||||
-rw-r--r-- | extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm index 0c8c88a87..3b99b5a44 100644 --- a/extensions/Needinfo/Extension.pm +++ b/extensions/Needinfo/Extension.pm @@ -134,6 +134,11 @@ sub bug_start_of_update { elsif ($needinfo_role eq 'user') { $requestees{$user->login} = 1; } + elsif ($needinfo_role eq 'triage_owner') { + if ($bug->component_obj->triage_owner_id) { + $requestees{$bug->component_obj->triage_owner->login} = 1; + } + } # Use user specified requestee elsif ($needinfo_role eq 'other' && $needinfo_from) { my @needinfo_from_list = ref $needinfo_from diff --git a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl index 5b316e4b0..111d8885a 100644 --- a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl +++ b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl @@ -218,6 +218,9 @@ $(function() { [% available_mentors.size == 1 ? "mentor" : mentor.login FILTER html %] </option> [% END %] + [% IF bug.component_obj.triage_owner_id %] + <option value="triage_owner">triage owner</option> + [% END %] </select> <span id="needinfo_from_container"> [% INCLUDE global/userselect.html.tmpl |