diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-04-12 10:19:52 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-04-13 11:28:42 +0200 |
commit | 3f492dd82681ca92e9e86acfcf1c15dfcfcf34cf (patch) | |
tree | ff4a4cb9ebd0f0a5f5704e7212d94ed77aaf4bbc /apps/files/controller/viewcontroller.php | |
parent | 838e9e312673c2fb30796b07b6fa2542ee8f554e (diff) | |
download | nextcloud-server-3f492dd82681ca92e9e86acfcf1c15dfcfcf34cf.tar.gz nextcloud-server-3f492dd82681ca92e9e86acfcf1c15dfcfcf34cf.zip |
load file sorting mode from the db
Diffstat (limited to 'apps/files/controller/viewcontroller.php')
-rw-r--r-- | apps/files/controller/viewcontroller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/controller/viewcontroller.php b/apps/files/controller/viewcontroller.php index 800cf008fa7..b71c8e38a79 100644 --- a/apps/files/controller/viewcontroller.php +++ b/apps/files/controller/viewcontroller.php @@ -213,6 +213,7 @@ class ViewController extends Controller { $params['mailNotificationEnabled'] = $this->config->getAppValue('core', 'shareapi_allow_mail_notification', 'no'); $params['mailPublicNotificationEnabled'] = $this->config->getAppValue('core', 'shareapi_allow_public_notification', 'no'); $params['allowShareWithLink'] = $this->config->getAppValue('core', 'shareapi_allow_links', 'yes'); + $params['defaultFileSorting'] = $this->config->getAppValue('files', 'file_sorting', 'name'); $params['appNavigation'] = $nav; $params['appContents'] = $contentItems; $this->navigationManager->setActiveEntry('files_index'); |