summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-09 02:09:02 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-09 02:09:02 +0200
commit38728c2f489618965067c133f31a12aa2fb88615 (patch)
treeb7f5945e864d4a09b4984932d6096ddb774256e1
parentdf3d17375606c39012eaeb0804663364856c495d (diff)
downloadbugzilla-38728c2f489618965067c133f31a12aa2fb88615.tar.gz
bugzilla-38728c2f489618965067c133f31a12aa2fb88615.tar.xz
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
-rw-r--r--Bugzilla/Search.pm1
1 files changed, 0 insertions, 1 deletions
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";
}