Commit 38728c2f authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 577582: longdescs.isprivate "changedfrom" and "changedto" weren't

working on PostgreSQL, because Search.pm always converted the value into 1 or 0 and passed that as a number to the database, and Pg didn't support numeric comparison with a text column. r=mkanat, a=mkanat
parent df3d1737
......@@ -1758,7 +1758,6 @@ sub _longdescs_isprivate {
my $extra = $self->{'user'}->is_insider ? "" : "AND $table.isprivate = 0";
push(@$joins, "LEFT JOIN longdescs AS $table " .
"ON $table.bug_id = bugs.bug_id $extra");
$args->{quoted} = $args->{value} ? 1 : 0;
$args->{full_field} = "$table.isprivate";
}
......
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