From 78ee689e54e6d7c1024c2017cef1be2a622cfb0d Mon Sep 17 00:00:00 2001
From: Christoph Wurst <christoph@winzerhof-wurst.at>
Date: Wed, 8 Jan 2020 18:09:20 +0100
Subject: Combine exact and other matches for transfer ownership

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
---
 apps/files/src/components/TransferOwnershipDialogue.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/files/src/components/TransferOwnershipDialogue.vue')

diff --git a/apps/files/src/components/TransferOwnershipDialogue.vue b/apps/files/src/components/TransferOwnershipDialogue.vue
index d24eb78e692..d7106f9221d 100644
--- a/apps/files/src/components/TransferOwnershipDialogue.vue
+++ b/apps/files/src/components/TransferOwnershipDialogue.vue
@@ -172,7 +172,7 @@ export default {
 				}
 
 				this.userSuggestions = {}
-				response.data.ocs.data.users.forEach(user => {
+				response.data.ocs.data.exact.users.concat(response.data.ocs.data.users).forEach(user => {
 					Vue.set(this.userSuggestions, user.value.shareWith, {
 						uid: user.value.shareWith,
 						displayName: user.label,
-- 
cgit v1.2.3

