From: lpsolit%gmail.com <> Date: Wed, 16 Nov 2005 09:09:51 +0000 (+0000) Subject: Bug 288557: Show in the request queue those requests tied to secure bugs for which... X-Git-Tag: bugzilla-2.20.1~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd2de5b298b45b4925cac77be76940313d5b7830;p=thirdparty%2Fbugzilla.git Bug 288557: Show in the request queue those requests tied to secure bugs for which the user is the QA contact - Patch by Frédéric Buclin r/a=myk --- diff --git a/request.cgi b/request.cgi index 4c6e7600f2..344fb20281 100755 --- a/request.cgi +++ b/request.cgi @@ -95,9 +95,9 @@ sub queue { ON flags.requestee_id = requestees.userid INNER JOIN bugs ON flags.bug_id = bugs.bug_id - LEFT JOIN products + INNER JOIN products ON bugs.product_id = products.id - LEFT JOIN components + INNER JOIN components ON bugs.component_id = components.id LEFT JOIN bug_group_map AS bgmap ON bgmap.bug_id = bugs.bug_id @@ -112,7 +112,9 @@ sub queue { " WHERE ((bgmap.group_id IS NULL) OR (ccmap.who IS NOT NULL AND cclist_accessible = 1) OR (bugs.reporter = $::userid AND bugs.reporter_accessible = 1) OR - (bugs.assigned_to = $::userid))"; + (bugs.assigned_to = $::userid) " . + (Param('useqacontact') ? "OR + (bugs.qa_contact = $::userid))" : ")"); # Non-deleted flags only $query .= " AND flags.is_active = 1 ";