summaryrefslogtreecommitdiffstats
path: root/js/controller/ShareController.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controller/ShareController.js')
-rw-r--r--js/controller/ShareController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/controller/ShareController.js b/js/controller/ShareController.js
index 0eb7b81c9..3289edf6a 100644
--- a/js/controller/ShareController.js
+++ b/js/controller/ShareController.js
@@ -39,8 +39,8 @@ app.controller('ShareController', function (ShareResource, Loading) {
ShareResource.getUsers(search)
.then((response) => {
if (this.searchQuery === search) {
- this.userList = response.ocs.data.users;
- this.userList = this.userList.concat(response.ocs.data.exact.users);
+ this.userList = response.ocs.data.exact.users;
+ this.userList = this.userList.concat(response.ocs.data.users);
Loading.setLoading('user', false);
}
})