diff options
author | Aurélien <dav.aurelien@gmail.com> | 2021-03-20 16:30:26 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | 4e9875d5c60afd43240e274865c731d488f3ce31 (patch) | |
tree | 7b6b37797d1f57cf149d8e1bfb5bfabb89381e2e /js | |
parent | f6a5b8e29ad6d41fb26de9238a86fb58317e2692 (diff) |
Reverse concat in user search
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/controller/ShareController.js | 4 |
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); } }) |