]> 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:20:00 +0000 (13:20 +0000)
committerjustdave%bugzilla.org <>
Sat, 11 Sep 2004 13:20:00 +0000 (13:20 +0000)
r=joel, a=myk

Bugzilla/Search.pm

index 86efb2ad098319da009f7a29fdd686bf7a7bb569..8ba38687a53ee1115bb2e1938fc105da49f882de 100644 (file)
@@ -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));