From 4d79731646d3b54c387791f41e781a2e0da40022 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 21 May 2015 13:53:18 +0200 Subject: [PATCH] DbUserBackend: Fix sorting when sorting by user_name refs #8826 --- library/Icinga/Authentication/User/DbUserBackend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Icinga/Authentication/User/DbUserBackend.php b/library/Icinga/Authentication/User/DbUserBackend.php index 362b2fb02..7a3de8966 100644 --- a/library/Icinga/Authentication/User/DbUserBackend.php +++ b/library/Icinga/Authentication/User/DbUserBackend.php @@ -69,8 +69,8 @@ class DbUserBackend extends DbRepository implements UserBackendInterface protected $sortRules = array( 'user_name' => array( 'columns' => array( - 'user_name asc', - 'is_active desc' + 'is_active desc', + 'user_name' ) ) );