From: justdave%bugzilla.org <> Date: Sat, 11 Sep 2004 13:20:00 +0000 (+0000) Subject: Bug 255663: Query on [Bug creation] and anything to do with attachments no longer... X-Git-Tag: bugzilla-2.19.1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1772e786fcd0fe3d2af8a40d8fcf6e1d158d7d84;p=thirdparty%2Fbugzilla.git Bug 255663: Query on [Bug creation] and anything to do with attachments no longer crashes r=joel, a=myk --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 86efb2ad09..8ba38687a5 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));