diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-08-23 20:38:56 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-08-23 20:38:56 +0200 |
commit | e2c1157cf6bbb98deff0990efa2d8a829370fdf5 (patch) | |
tree | cca3e2afdbd33ebda36e5e5da147706780c50f4e /editusers.cgi | |
parent | 1f870a8b3f88cc77319dec50380fc4554f34793e (diff) | |
download | bugzilla-e2c1157cf6bbb98deff0990efa2d8a829370fdf5.tar.gz bugzilla-e2c1157cf6bbb98deff0990efa2d8a829370fdf5.tar.xz |
Bug 903387 - Backport bug 240437 (last_seen_date column) to BMO 4.2
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 bd643e893..a6a93c41e 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -80,7 +80,8 @@ if ($action eq 'search') { my $matchstr = trim($cgi->param('matchstr')); my $matchtype = $cgi->param('matchtype'); my $grouprestrict = $cgi->param('grouprestrict') || '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; |