There was an error while loading. Please reload this page.
1 parent dfe85ae commit 5bce833Copy full SHA for 5bce833
1 file changed
apps/files_sharing/src/components/SharingInput.vue
@@ -207,8 +207,12 @@ export default {
207
// remove invalid data and format to user-select layout
208
const exactSuggestions = this.filterOutExistingShares(rawExactSuggestions)
209
.map(share => this.formatForMultiselect(share))
210
+ // sort by type so we can get user&groups first...
211
+ .sort((a, b) => a.shareType - b.shareType)
212
const suggestions = this.filterOutExistingShares(rawSuggestions)
213
214
215
216
217
// lookup clickable entry
218
const lookupEntry = []
0 commit comments