summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-08-23 20:38:56 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-08-23 20:38:56 +0200
commite2c1157cf6bbb98deff0990efa2d8a829370fdf5 (patch)
treecca3e2afdbd33ebda36e5e5da147706780c50f4e /editusers.cgi
parent1f870a8b3f88cc77319dec50380fc4554f34793e (diff)
downloadbugzilla-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-xeditusers.cgi3
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;