Commit 6ee776b0 authored by donm%bluemartini.com's avatar donm%bluemartini.com

bug 30823, advanced querying didn't work for dependencies.

parent 14f53bd7
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment