From 38728c2f489618965067c133f31a12aa2fb88615 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 8 Jul 2010 17:09:02 -0700 Subject: 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 --- Bugzilla/Search.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 68144b376..3653cff67 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"; } -- cgit v1.2.3-24-g4f1b