Skip to content

Commit

Permalink
DbUserBackend: Use is_active as well as a default sort column
Browse files Browse the repository at this point in the history
refs #8826
  • Loading branch information
Johannes Meyer committed May 4, 2015
1 parent 9163fb0 commit b86a002
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion library/Icinga/Authentication/User/DbUserBackend.php
Expand Up @@ -46,7 +46,10 @@ class DbUserBackend extends DbRepository implements UserBackendInterface
*/
protected $sortRules = array(
'user_name' => array(
'order' => 'asc'
'columns' => array(
'user_name asc',
'is_active desc'
)
)
);

Expand Down

0 comments on commit b86a002

Please sign in to comment.