diff options
author | Byron Jones <bjones@mozilla.com> | 2012-01-24 08:13:22 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-01-24 08:13:22 +0100 |
commit | 0284798a8cc4987c84805634a7a84d5d853a2168 (patch) | |
tree | c81fd47c1fadd9abb335c618959ac227107efb8e /editusers.cgi | |
parent | 96624a115fe60b8ebdbbecbc2b38a7566d4e4c59 (diff) | |
download | bugzilla-0284798a8cc4987c84805634a7a84d5d853a2168.tar.gz bugzilla-0284798a8cc4987c84805634a7a84d5d853a2168.tar.xz |
Bug 240437: Add a "last seen date" column to the profiles table
r=LpSolit, a=LpSolit
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi index 80c83f1c1..b4b86b880 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -64,7 +64,8 @@ if ($action eq 'search') { my $matchtype = $cgi->param('matchtype'); my $grouprestrict = $cgi->param('grouprestrict') || '0'; my $enabled_only = $cgi->param('enabled_only') || '0'; - my $query = 'SELECT DISTINCT userid, login_name, realname, is_enabled ' . + my $query = 'SELECT DISTINCT userid, login_name, realname, is_enabled, ' . + $dbh->sql_date_format('last_seen_date', '%Y-%m-%d') . ' AS last_seen_date ' . 'FROM profiles'; my @bindValues; my $nextCondition; |