]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1536279 - Sort suggested users by last seen date, not last login date
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 21 Mar 2019 22:23:52 +0000 (18:23 -0400)
committerGitHub <noreply@github.com>
Thu, 21 Mar 2019 22:23:52 +0000 (18:23 -0400)
Bugzilla/WebService/User.pm

index 4fbdb125cb3aaeb26cf48941f565b7c5d183a2f7..1364a4edc5ec8b38ce06a9bf4c2017a376b8a1fd 100644 (file)
@@ -145,7 +145,7 @@ sub suggest {
 
   my $dbh    = Bugzilla->dbh;
   my @select = ('userid AS id', 'realname AS real_name', 'login_name AS name');
-  my $order  = 'last_seen_date DESC';
+  my $order  = 'last_activity_ts DESC';
   my $where;
   state $have_mysql = $dbh->isa('Bugzilla::DB::Mysql');