diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 65a021e5d362c..c647d3346e720 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -221,6 +221,10 @@ public function index($dir = '', $view = '', $fileid = null) { $this->initialState->provideInitialState('config', $this->userConfig->getConfigs()); $this->initialState->provideInitialState('viewConfigs', $this->viewConfig->getConfigs()); $this->initialState->provideInitialState('recent_limit', $this->appConfig->getAppValueInt('recent_limit', 100)); + // Not yet consumed by the frontend, provided for future implementation + $this->initialState->provideInitialState('group_recent_files', $this->appConfig->getAppValueBool('group_recent_files', false)); + $this->initialState->provideInitialState('recent_files_group_mime_types', $this->appConfig->getAppValueArray('recent_files_group_mime_types', [])); + $this->initialState->provideInitialState('recent_files_group_timespan_minutes', $this->appConfig->getAppValueInt('recent_files_group_timespan_minutes', 2)); // File sorting user config $filesSortingConfig = json_decode($this->config->getUserValue($userId, 'files', 'files_sorting_configs', '{}'), true);