mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-26 07:49:28 +01:00
Always include comments in tile view since there are no columns to change.
This commit is contained in:
parent
8484896572
commit
28410fc81b
@ -860,6 +860,12 @@ class filemanager_ui
|
||||
}
|
||||
// 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')
|
||||
{
|
||||
$cols_to_show[] = 'comment';
|
||||
}
|
||||
$all_cfs = in_array('customfields',$cols_to_show) && $cols_to_show[count($cols_to_show)-1][0] != '#';
|
||||
if ($path2n && (in_array('comment',$cols_to_show) || in_array('customfields',$cols_to_show)) &&
|
||||
($path2props = egw_vfs::propfind(array_keys($path2n))))
|
||||
|
Loading…
Reference in New Issue
Block a user