From: Max Kanat-Alexander Date: Fri, 9 Jul 2010 00:09:02 +0000 (-0700) Subject: Bug 577582: longdescs.isprivate "changedfrom" and "changedto" weren't X-Git-Tag: bugzilla-4.1.1~441 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38728c2f489618965067c133f31a12aa2fb88615;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 68144b376c..3653cff678 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -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"; }