diff options
author | terry%mozilla.org <> | 2000-01-22 13:24:39 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 2000-01-22 13:24:39 +0100 |
commit | 6dcda41d4c40a5617757a3b0ec9bbaeebfde6b55 (patch) | |
tree | e2b74fd808d5610777a93047ef4a09e07070ac46 /CGI.pl | |
parent | 77613d1fc5ca11bca00d1e530d3d1847c9ba24d3 (diff) | |
download | bugzilla-6dcda41d4c40a5617757a3b0ec9bbaeebfde6b55.tar.gz bugzilla-6dcda41d4c40a5617757a3b0ec9bbaeebfde6b55.tar.xz |
Added a new table fielddefs that records information about the
different fields we keep an activity log on. The bugs_activity table
now has a pointer into that table instead of recording the name directly.
Set up a new, highly experimental email-notification scheme. To turn
it on, the maintainer has to turn on the "New email tech" param, and
then individual users have to turn on the "New email tech" preference.
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -777,13 +777,14 @@ sub DumpBugActivity { $datepart = "and bugs_activity.bug_when >= $starttime"; } my $query = " - select bugs_activity.field, bugs_activity.bug_when, + SELECT fielddefs.name, bugs_activity.bug_when, bugs_activity.oldvalue, bugs_activity.newvalue, profiles.login_name - from bugs_activity,profiles - where bugs_activity.bug_id = $id $datepart - and profiles.userid = bugs_activity.who - order by bugs_activity.bug_when"; + FROM bugs_activity,profiles,fielddefs + WHERE bugs_activity.bug_id = $id $datepart + AND fielddefs.fieldid = bugs_activity.fieldid + AND profiles.userid = bugs_activity.who + ORDER BY bugs_activity.bug_when"; SendSQL($query); |