mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Filemanager: don't store mime filter from expose in case user reloads and expose doesn't get a chance to remove it
This commit is contained in:
parent
1146daf62c
commit
d05ed64514
@ -910,8 +910,10 @@ class filemanager_ui
|
|||||||
// do NOT store query, if hierarchical data / children are requested
|
// do NOT store query, if hierarchical data / children are requested
|
||||||
if (!$query['csv_export'])
|
if (!$query['csv_export'])
|
||||||
{
|
{
|
||||||
Api\Cache::setSession('filemanager', 'index',
|
$store_query = array_diff_key ($query, array_flip(array('rows','actions','action_links','placeholder_actions')));
|
||||||
array_diff_key ($query, array_flip(array('rows','actions','action_links','placeholder_actions'))));
|
// Don't store mime filter from expose, just in case user reloads and the UI can't remove it
|
||||||
|
unset($store_query['col_filter']['mime']);
|
||||||
|
Api\Cache::setSession('filemanager', 'index', $store_query);
|
||||||
}
|
}
|
||||||
if(!$query['path']) $query['path'] = static::get_home_dir();
|
if(!$query['path']) $query['path'] = static::get_home_dir();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user