summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-18 14:08:42 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:30:00 +0100
commitf7f70028d19d3191d0091f3c5d1b43aa1ac2d4eb (patch)
treedb5710b9e0bea65907cf01a0ee784b008037b9cc /core
parent8bf41113682f5d41529ff09f400880574e9b9322 (diff)
downloadnextcloud-server-f7f70028d19d3191d0091f3c5d1b43aa1ac2d4eb.tar.gz
nextcloud-server-f7f70028d19d3191d0091f3c5d1b43aa1ac2d4eb.zip
Search on lookup server
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core')
-rw-r--r--core/js/sharedialogview.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js
index 0a29dec73ca..6377d16dd4c 100644
--- a/core/js/sharedialogview.js
+++ b/core/js/sharedialogview.js
@@ -149,6 +149,7 @@
var users = result.ocs.data.exact.users.concat(result.ocs.data.users);
var groups = result.ocs.data.exact.groups.concat(result.ocs.data.groups);
var remotes = result.ocs.data.exact.remotes.concat(result.ocs.data.remotes);
+ var lookup = result.ocs.data.lookup;
if (typeof(result.ocs.data.emails) !== 'undefined') {
var emails = result.ocs.data.exact.emails.concat(result.ocs.data.emails);
} else {
@@ -159,6 +160,7 @@
var groupsLength;
var remotesLength;
var emailsLength;
+ var lookupLength;
var i, j;
@@ -224,7 +226,7 @@
}
}
- var suggestions = users.concat(groups).concat(remotes).concat(emails);
+ var suggestions = users.concat(groups).concat(remotes).concat(emails).concat(lookup);
if (suggestions.length > 0) {
$('.shareWithField').removeClass('error')