Patch for bug 192218: Ability to use a hyphen as a way to filter specifically for requests with no requestee; patch by Frédéric Buclin <LpSolit@netscape.net>; r=myk, a=myk.
git-svn-id: svn://10.0.0.236/trunk@164312 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user