summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm4
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));