PHRAS-3536 add column last_connection in users list

This commit is contained in:
aynsix
2021-09-21 17:01:40 +03:00
parent 51c61c6c25
commit 09ae8ecf63
10 changed files with 385 additions and 333 deletions

View File

@@ -27,6 +27,7 @@ class User_Query
const SORT_CREATIONDATE = 'created';
const SORT_COUNTRY = 'country';
const SORT_LASTMODEL = 'last_model';
const SORT_LAST_CONNECTION = 'last_connection';
const LIKE_FIRSTNAME = 'first_name';
const LIKE_LASTNAME = 'last_name';
const LIKE_NAME = 'name';
@@ -1091,6 +1092,7 @@ class User_Query
case self::SORT_CREATIONDATE:
case self::SORT_COUNTRY:
case self::SORT_LASTMODEL:
case self::SORT_LAST_CONNECTION:
$sorter[$k] = ' Users.`' . $sort . '` ';
break;
default: