mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02: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
|
// 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
|
||||||
|
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] != '#';
|
$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)) &&
|
if ($path2n && (in_array('comment',$cols_to_show) || in_array('customfields',$cols_to_show)) &&
|
||||||
($path2props = egw_vfs::propfind(array_keys($path2n))))
|
($path2props = egw_vfs::propfind(array_keys($path2n))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user