From: justdave%bugzilla.org <> Date: Sat, 11 Sep 2004 13:29:57 +0000 (+0000) Subject: Bug 255663: Query on [Bug creation] and anything to do with attachments no longer... X-Git-Tag: bugzilla-2.18rc3~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268ca7cca26291f40c375a0e29be3c0bd975dd5d;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 b7f4e189c1..430f98a328 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -258,8 +258,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));