From 1772e786fcd0fe3d2af8a40d8fcf6e1d158d7d84 Mon Sep 17 00:00:00 2001 From: "justdave%bugzilla.org" <> Date: Sat, 11 Sep 2004 13:20:00 +0000 Subject: Bug 255663: Query on [Bug creation] and anything to do with attachments no longer crashes r=joel, a=myk --- Bugzilla/Search.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Search.pm') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 86efb2ad0..8ba38687a 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -264,8 +264,8 @@ sub init { # Treat [Bug creation] differently because we need to look # at bugs.creation_ts rather than the bugs_activity table. my @l; - push(@l, "creation_ts >= $sql_chfrom") if($sql_chfrom); - push(@l, "creation_ts <= $sql_chto") if($sql_chto); + push(@l, "bugs.creation_ts >= $sql_chfrom") if($sql_chfrom); + push(@l, "bugs.creation_ts <= $sql_chto") if($sql_chto); $bug_creation_clause = "(" . join(' AND ', @l) . ")"; } else { push(@list, "\nactcheck.fieldid = " . &::GetFieldID($f)); -- cgit v1.2.3-24-g4f1b