]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
bug 30823, advanced querying didn't work for dependencies.
authordonm%bluemartini.com <>
Thu, 27 Apr 2000 00:44:24 +0000 (00:44 +0000)
committerdonm%bluemartini.com <>
Thu, 27 Apr 2000 00:44:24 +0000 (00:44 +0000)
buglist.cgi

index 20f2051db85cf82d6e14716001459fc54f4bdeb2..34cd9fbebb57fb0b2c9d7b2fb0930dec1d5c9fd1 100755 (executable)
@@ -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";