From caea7af8705e6d8861aed795705d66182208dd9f Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" Date: Sun, 24 Oct 2004 23:34:20 +0000 Subject: [PATCH] =?UTF-8?q?Patch=20for=20bug=20192218:=20Ability=20to=20us?= =?UTF-8?q?e=20a=20hyphen=20as=20a=20way=20to=20filter=20specifically=20fo?= =?UTF-8?q?r=20requests=20with=20no=20requestee;=20patch=20by=20Fr=C3=A9d?= =?UTF-8?q?=C3=A9ric=20Buclin=20;=20r=3Dmyk,=20a=3Dm?= =?UTF-8?q?yk.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@164312 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/request.cgi | 6 ++++-- .../bugzilla/template/en/default/request/queue.html.tmpl | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/mozilla/webtools/bugzilla/request.cgi b/mozilla/webtools/bugzilla/request.cgi index a494128d897..445783d4717 100755 --- a/mozilla/webtools/bugzilla/request.cgi +++ b/mozilla/webtools/bugzilla/request.cgi @@ -151,8 +151,10 @@ sub queue { push(@excluded_columns, 'requester') unless $cgi->param('do_union'); } if (defined $cgi->param('requestee') && $cgi->param('requestee') ne "") { - push(@criteria, "requestees.login_name = " . - SqlQuote($cgi->param('requestee'))); + if ($cgi->param('requestee') ne "-") { + push(@criteria, "requestees.login_name = " . SqlQuote($cgi->param('requestee'))); + } + else { push(@criteria, "flags.requestee_id IS NULL") } push(@excluded_columns, 'requestee') unless $cgi->param('do_union'); } diff --git a/mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl index 0eb3f21cde1..5a626b18307 100644 --- a/mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl @@ -47,7 +47,8 @@ - + - +
Requester: Product:
Requestee: Component: