* Admin - fix group list filter & sort

- Remove created & modified columns since they're not stored for groups
- Fix email sort
- Fix search returned all results
This commit is contained in:
nathangray
2018-01-30 11:27:42 -07:00
parent b1275c4d1e
commit cf2b759054
3 changed files with 6 additions and 13 deletions

View File

@ -412,7 +412,8 @@ class Sql
Api\Accounts::format_username('account_lid','account_firstname','account_lastname'))), $param['order']);
}
$order = str_replace(array_keys($order2contact),array_values($order2contact),$param['order']);
// allways add 'account_lid', as it is only valid one for groups
// allways add 'account_lid'
if (strpos($order, 'account_lid') === false)
{
$order .= ($order?',':'').'account_lid';