From: donm%bluemartini.com <> Date: Thu, 27 Apr 2000 00:44:24 +0000 (+0000) Subject: bug 30823, advanced querying didn't work for dependencies. X-Git-Tag: bugzilla-2.12~308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee776b0f05c6acc23270fc87c180401e64c6069;p=thirdparty%2Fbugzilla.git bug 30823, advanced querying didn't work for dependencies. --- diff --git a/buglist.cgi b/buglist.cgi index 20f2051db8..34cd9fbebb 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -51,8 +51,8 @@ my $serverpush = 0; ConnectToDatabase(); -# print "Content-type: text/plain\n\n"; # Handy for debugging. -# $::FORM{'debug'} = 1; +#print "Content-type: text/plain\n\n"; # Handy for debugging. +#$::FORM{'debug'} = 1; if (grep(/^cmd-/, keys(%::FORM))) { @@ -434,6 +434,14 @@ sub GenerateSQL { } }, + "^(dependson|blocked)," => sub { + push(@supptables, "dependencies"); + $ff = "dependencies.$f"; + $ref = $funcsbykey{",$t"}; + &$ref; + push(@wherepart, "$term"); + }, + ",equals" => sub { $term = "$ff = $q";