summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authordonm%bluemartini.com <>2000-04-27 02:44:24 +0200
committerdonm%bluemartini.com <>2000-04-27 02:44:24 +0200
commit6ee776b0f05c6acc23270fc87c180401e64c6069 (patch)
tree21c1d52fa70efd3045b5b4210f7fc70df7544a99 /buglist.cgi
parent14f53bd7f091ae5dd40671ad1154ed11be7a2c8e (diff)
downloadbugzilla-6ee776b0f05c6acc23270fc87c180401e64c6069.tar.gz
bugzilla-6ee776b0f05c6acc23270fc87c180401e64c6069.tar.xz
bug 30823, advanced querying didn't work for dependencies.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi12
1 files changed, 10 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 20f2051db..34cd9fbeb 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";