From 3f492dd82681ca92e9e86acfcf1c15dfcfcf34cf Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 12 Apr 2016 10:19:52 +0200 Subject: load file sorting mode from the db --- apps/files/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files/js/app.js') diff --git a/apps/files/js/app.js b/apps/files/js/app.js index ff505d417f1..8662cd7c852 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -72,7 +72,8 @@ fileActions: fileActions, allowLegacyActions: true, scrollTo: urlParams.scrollto, - filesClient: OC.Files.getClient() + filesClient: OC.Files.getClient(), + sorting: $('#defaultFileSorting').val() } ); this.files.initialize(); -- cgit v1.2.3