Always include comments in tile view since there are no columns to change.

This commit is contained in:
Nathan Gray 2015-01-16 16:50:52 +00:00
parent 8484896572
commit 28410fc81b

View File

@ -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))))