Fix sort by account created or modified gives SQL error

This commit is contained in:
Nathan Gray 2014-08-06 15:20:20 +00:00
parent 98da1ade79
commit addd1a274f
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ class admin_ui
'order' => 'account_lid', 'order' => 'account_lid',
'sort' => 'ASC', 'sort' => 'ASC',
'row_id' => 'account_id', 'row_id' => 'account_id',
'default_cols' => '!account_id,account_created', 'default_cols' => '!account_id,created',
'actions' => self::user_actions(), 'actions' => self::user_actions(),
); );
//$content['msg'] = 'Hi Ralf ;-)'; //$content['msg'] = 'Hi Ralf ;-)';

View File

@ -27,8 +27,8 @@
<nextmatch-sortheader label="EMail" id="account_email"/> <nextmatch-sortheader label="EMail" id="account_email"/>
<nextmatch-sortheader label="Primary group" id="account_primary_group"/> <nextmatch-sortheader label="Primary group" id="account_primary_group"/>
<nextmatch-sortheader label="Expires" id="account_expires"/> <nextmatch-sortheader label="Expires" id="account_expires"/>
<nextmatch-sortheader label="Created" id="account_created"/> <nextmatch-sortheader label="Created" id="created"/>
<nextmatch-sortheader label="Last modified" id="account_modified"/> <nextmatch-sortheader label="Last modified" id="modified"/>
</row> </row>
<row class="$row_cont[status_class]"> <row class="$row_cont[status_class]">
<description id="${row}[account_lid]" no_lang="1"/> <description id="${row}[account_lid]" no_lang="1"/>