summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-14 11:31:56 +0100
committerjocuri%softhome.net <>2004-12-14 11:31:56 +0100
commit736549f87131329172cc499427a768ec686bca49 (patch)
tree7f6f9f187d456753000279dcac41574794f6059f
parent5ae95ca8b945cec145387a2ef764ec46213e1818 (diff)
downloadbugzilla-736549f87131329172cc499427a768ec686bca49.tar.gz
bugzilla-736549f87131329172cc499427a768ec686bca49.tar.xz
Patch for bug 270823: Remove failure on search 'time since owner touched bug' (remove linebreaks from middle join clause); patch by Joel Peshkin <bugreport@peshkin.net>, r=justdave, r=vladd, a=justdave.
-rw-r--r--Bugzilla/Search.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 121f92630..12f22b0e2 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 " .