Vfs: Include original search term in vfs_options in addition to regex

This commit is contained in:
nathangray 2020-03-04 13:53:26 -07:00
parent 2662755c7f
commit 67e68f86f7

View File

@ -11,11 +11,10 @@
*/ */
use EGroupware\Api; use EGroupware\Api;
use EGroupware\Api\Link;
use EGroupware\Api\Framework;
use EGroupware\Api\Egw; use EGroupware\Api\Egw;
use EGroupware\Api\Etemplate; use EGroupware\Api\Etemplate;
use EGroupware\Api\Framework;
use EGroupware\Api\Link;
use EGroupware\Api\Vfs; use EGroupware\Api\Vfs;
/** /**
@ -1023,6 +1022,10 @@ class filemanager_ui
{ {
$vfs_options['mime'] = $query['col_filter']['mime']; $vfs_options['mime'] = $query['col_filter']['mime'];
} }
if($namefilter)
{
$vfs_options['name'] = $query['search'];
}
return $vfs_options; return $vfs_options;
} }