]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 255663: Query on [Bug creation] and anything to do with attachments no longer...
authorjustdave%bugzilla.org <>
Sat, 11 Sep 2004 13:29:57 +0000 (13:29 +0000)
committerjustdave%bugzilla.org <>
Sat, 11 Sep 2004 13:29:57 +0000 (13:29 +0000)
r=joel, a=myk

Bugzilla/Search.pm

index b7f4e189c1e9ae57e9b0db8d8e5b074b1b0c487a..430f98a328d8908372c7b7ec734535a79059b6a4 100644 (file)
@@ -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));