mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
* 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
This commit is contained in:
parent
16537fca53
commit
20728fb2fd
@ -872,13 +872,14 @@ class filemanager_ui
|
|||||||
$row['class'] = 'isDir';
|
$row['class'] = 'isDir';
|
||||||
}
|
}
|
||||||
$row['download_url'] = egw_vfs::download_url($path);
|
$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;
|
$rows[++$n] = $row;
|
||||||
$path2n[$path] = $n;
|
$path2n[$path] = $n;
|
||||||
}
|
}
|
||||||
// query comments and cf's for the displayed rows
|
// query comments and cf's for the displayed rows
|
||||||
$cols_to_show = explode(',',$GLOBALS['egw_info']['user']['preferences']['filemanager']['nextmatch-filemanager.index.rows']);
|
$cols_to_show = explode(',',$GLOBALS['egw_info']['user']['preferences']['filemanager']['nextmatch-filemanager.index.rows']);
|
||||||
|
|
||||||
// Always include comment in tiles
|
// Always include comment in tiles
|
||||||
if($query['view'] == 'tile')
|
if($query['view'] == 'tile')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user