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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user