diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-07-07 19:31:32 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-07-07 19:31:32 +0200 |
commit | ed9b9ba671131e356938627e6344064f190f5313 (patch) | |
tree | eead507894b5512288ec21a4996105487357ed06 | |
parent | 268af9039ae4671be50863f852def8a0db0c7e08 (diff) | |
parent | 4ba492f28d622de4d69e2ab8bf34320280b17859 (diff) | |
download | nextcloud-server-ed9b9ba671131e356938627e6344064f190f5313.tar.gz nextcloud-server-ed9b9ba671131e356938627e6344064f190f5313.zip |
Merge pull request #9501 from owncloud/shares-listsort
Fixed shared list sorting
-rw-r--r-- | apps/files_sharing/js/sharedfilelist.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js index e643618e774..0e115ae6148 100644 --- a/apps/files_sharing/js/sharedfilelist.js +++ b/apps/files_sharing/js/sharedfilelist.js @@ -238,12 +238,11 @@ ); delete data.recipientsCount; }) - // Sort by expected sort comparator - .sortBy(this._sortComparator) // Finish the chain by getting the result .value(); - return files; + // Sort by expected sort comparator + return files.sort(this._sortComparator); } }); |