Oops; query results were always coming back empty if you specified
multiple directories. git-svn-id: svn://10.0.0.236/trunk@58246 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -160,9 +160,11 @@ sub query_checkins {
|
||||
}
|
||||
|
||||
if (0 < @::query_dirs) {
|
||||
my @list;
|
||||
foreach my $i (@::query_dirs) {
|
||||
$qstring .= " and dirs.dir like " . SqlQuote("$i%");
|
||||
push(@list, "dirs.dir like " . SqlQuote("$i%"));
|
||||
}
|
||||
$qstring .= "and (" . join(" or ", @list) . ")";
|
||||
}
|
||||
|
||||
if (defined $::query_file && $::query_file ne '') {
|
||||
|
||||
Reference in New Issue
Block a user