aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharedfilelist.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-08-15 16:52:41 +0200
committerVincent Petry <pvince81@owncloud.com>2014-08-15 16:52:41 +0200
commit3a99f15af29918a67bf8789ed79006e80901d233 (patch)
treea2e797bf28037da9a6ffa1635f3962fbd43d475a /apps/files_sharing/js/sharedfilelist.js
parent1fff77f5de6f0cd3810a23f5b666452a5769bb1c (diff)
downloadnextcloud-server-3a99f15af29918a67bf8789ed79006e80901d233.tar.gz
nextcloud-server-3a99f15af29918a67bf8789ed79006e80901d233.zip
Client side sort for sharing overview
Since the server doesn't support sorting, use client side sort directly instead of calling reload() first.
Diffstat (limited to 'apps/files_sharing/js/sharedfilelist.js')
-rw-r--r--apps/files_sharing/js/sharedfilelist.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js
index 7a43185a2d7..d29285dc1de 100644
--- a/apps/files_sharing/js/sharedfilelist.js
+++ b/apps/files_sharing/js/sharedfilelist.js
@@ -28,6 +28,8 @@
_sharedWithUser: false,
_linksOnly: false,
+ _clientSideSort: true,
+
initialize: function($el, options) {
OCA.Files.FileList.prototype.initialize.apply(this, arguments);
if (this.initialized) {