diff options
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 448b42c40..a39f0cc45 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -412,6 +412,10 @@ elsif ($action eq 'next_bug' or $action eq 'same_bug') { if ($action eq 'next_bug') { $vars->{'nextbug'} = $bug->id; } + # For performance reasons, preload visibility of dependencies + # and duplicates related to this bug. + Bugzilla::Bug->preload([$bug]); + $template->process("bug/show.html.tmpl", $vars) || ThrowTemplateError($template->error()); exit; |