Skip to content
Snippets Groups Projects
Commit ed9b9ba6 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #9501 from owncloud/shares-listsort

Fixed shared list sorting
parents 268af903 4ba492f2
Branches
No related tags found
No related merge requests found
...@@ -238,12 +238,11 @@ ...@@ -238,12 +238,11 @@
); );
delete data.recipientsCount; delete data.recipientsCount;
}) })
// Sort by expected sort comparator
.sortBy(this._sortComparator)
// Finish the chain by getting the result // Finish the chain by getting the result
.value(); .value();
return files; // Sort by expected sort comparator
return files.sort(this._sortComparator);
} }
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment