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

git-svn-id: svn://10.0.0.236/trunk@67250 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
donm%bluemartini.com
2000-04-26 17:44:24 +00:00
parent 5c5bf79cc4
commit 655dcaff93

View File

@@ -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";