From 4e9875d5c60afd43240e274865c731d488f3ce31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien?= Date: Sat, 20 Mar 2021 16:30:26 +0100 Subject: Reverse concat in user search MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien --- js/controller/ShareController.js | 4 ++-- 1 file 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); } }) -- cgit v1.2.3