From cdf486ac51ae9581d416f767e2209eb13a6420ce Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 27 Mar 2015 09:29:11 +0000 Subject: [PATCH] * LDAP/AD/UCS/Filemanager: group-names were displayed as "#123" instead of name caused by LDAP backend needs correct negative sign for groups, while SQL backend finds groups also with there positive id --- filemanager/inc/class.filemanager_ui.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 6eba2fe0bc..b6141d6c51 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -872,13 +872,14 @@ class filemanager_ui $row['class'] = 'isDir'; } $row['download_url'] = egw_vfs::download_url($path); + $row['gid'] = -abs($row['gid']); // gid are positive, but we use negagive account_id for groups internal $rows[++$n] = $row; $path2n[$path] = $n; } // query comments and cf's for the displayed rows $cols_to_show = explode(',',$GLOBALS['egw_info']['user']['preferences']['filemanager']['nextmatch-filemanager.index.rows']); - + // Always include comment in tiles if($query['view'] == 'tile') {