diff options
author | justdave%bugzilla.org <> | 2004-09-11 15:20:00 +0200 |
---|---|---|
committer | justdave%bugzilla.org <> | 2004-09-11 15:20:00 +0200 |
commit | 1772e786fcd0fe3d2af8a40d8fcf6e1d158d7d84 (patch) | |
tree | f78fa94fe48ff00ec7691dbf0b87790d9de0455e | |
parent | be9e174d8eeb6832bdc963950a7e898256cb86d8 (diff) | |
download | bugzilla-1772e786fcd0fe3d2af8a40d8fcf6e1d158d7d84.tar.gz bugzilla-1772e786fcd0fe3d2af8a40d8fcf6e1d158d7d84.tar.xz |
Bug 255663: Query on [Bug creation] and anything to do with attachments no longer crashes
r=joel, a=myk
-rw-r--r-- | Bugzilla/Search.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |