We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 086a97e commit 77fb729Copy full SHA for 77fb729
1 file changed
src/mixins/UserSearchMixin.js
@@ -86,11 +86,6 @@ export default {
86
async getSuggestions(query) {
87
this.loading = true
88
89
- // Search for all used share-types, except public link.
90
- const shareType = this.SHARE_TYPES_USED.filter(
91
- (type) => type !== this.SHARE_TYPES.SHARE_TYPE_LINK,
92
- )
93
-
94
try {
95
const request = await axios.get(
96
generateOcsUrl('apps/files_sharing/api/v1/sharees'),
@@ -100,7 +95,7 @@ export default {
100
itemType: 'file',
101
perPage: this.maxAutocompleteResults,
102
97
search: query,
103
- shareType,
98
+ shareType: [this.SHARE_TYPES.SHARE_TYPE_USER],
104
99
},
105
106
)
0 commit comments