]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 577582: longdescs.isprivate "changedfrom" and "changedto" weren't
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 9 Jul 2010 00:09:02 +0000 (17:09 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 9 Jul 2010 00:09:02 +0000 (17:09 -0700)
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

index 68144b376c853a39b951cc0ac1eb22bbe0835ff4..3653cff678f2a1f370179e9e85030ece3454891b 100644 (file)
@@ -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";
 }