diff options
author | terry%mozilla.org <> | 1999-09-16 00:25:26 +0000 |
---|---|---|
committer | terry%mozilla.org <> | 1999-09-16 00:25:26 +0000 |
commit | 1008fc9fa512222979ae23e02e7db30c3e04d592 (patch) | |
tree | 60737cf5fccb9580fa83e14422bf2cb60d522ace /buglist.cgi | |
parent | 20269fbbc7fe9226f2ed8a4c0470d7c84b795591 (diff) | |
download | bugs-1008fc9fa512222979ae23e02e7db30c3e04d592.tar bugs-1008fc9fa512222979ae23e02e7db30c3e04d592.tar.gz bugs-1008fc9fa512222979ae23e02e7db30c3e04d592.tar.bz2 bugs-1008fc9fa512222979ae23e02e7db30c3e04d592.tar.xz bugs-1008fc9fa512222979ae23e02e7db30c3e04d592.zip |
Patch by daa@rmi.net (Dave Avery) -- newer alphas of MySQL won't let
use "when" as a column name, so let's change our usage while it's
still easy to do so.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi index 07e05900f..24584e6fe 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -392,13 +392,13 @@ if (defined $ref && 0 < @$ref) { } $query .= "and bugs_activity.bug_id = bugs.bug_id and (" . join(' or ', @list) . ") "; - $query .= "and bugs_activity.when >= " . + $query .= "and bugs_activity.bug_when >= " . SqlifyDate($::FORM{'chfieldfrom'}) . "\n"; my $to = $::FORM{'chfieldto'}; if (defined $to) { $to = trim($to); if ($to ne "" && $to !~ /^now$/i) { - $query .= "and bugs_activity.when <= " . SqlifyDate($to) . "\n"; + $query .= "and bugs_activity.bug_when <= " . SqlifyDate($to) . "\n"; } } my $value = $::FORM{'chfieldvalue'}; |