From: jocuri%softhome.net <> Date: Tue, 14 Dec 2004 10:31:56 +0000 (+0000) Subject: Patch for bug 270823: Remove failure on search 'time since owner touched bug' (remove... X-Git-Tag: bugzilla-2.19.2~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=736549f87131329172cc499427a768ec686bca49;p=thirdparty%2Fbugzilla.git Patch for bug 270823: Remove failure on search 'time since owner touched bug' (remove linebreaks from middle join clause); patch by Joel Peshkin , r=justdave, r=vladd, a=justdave. --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 121f926300..12f22b0e2b 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -852,8 +852,8 @@ sub init { } elsif ($unit eq 'y') { $unitinterval = 'YEAR'; } - my $cutoff = "DATE_SUB(NOW(), - INTERVAL $quantity $unitinterval)"; + my $cutoff = "DATE_SUB(NOW(), " . + "INTERVAL $quantity $unitinterval)"; my $assigned_fieldid = &::GetFieldID('assigned_to'); push(@supptables, "LEFT JOIN longdescs comment_$table " . "ON comment_$table.who = bugs.assigned_to " .