Merge pull request #17995 from nextcloud/fix/sharing/federation-order
Sort users and groups first in sharing input
This commit is contained in:
commit
fa1b23b67a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -207,8 +207,12 @@ export default {
|
|||
// remove invalid data and format to user-select layout
|
||||
const exactSuggestions = this.filterOutExistingShares(rawExactSuggestions)
|
||||
.map(share => this.formatForMultiselect(share))
|
||||
// sort by type so we can get user&groups first...
|
||||
.sort((a, b) => a.shareType - b.shareType)
|
||||
const suggestions = this.filterOutExistingShares(rawSuggestions)
|
||||
.map(share => this.formatForMultiselect(share))
|
||||
// sort by type so we can get user&groups first...
|
||||
.sort((a, b) => a.shareType - b.shareType)
|
||||
|
||||
// lookup clickable entry
|
||||
const lookupEntry = []
|
||||
|
|
Loading…
Reference in New Issue