Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Förster <toni.foerster@gmail.com>2015-01-21 03:46:52 +0300
committerToni Förster <toni.foerster@gmail.com>2015-01-21 03:46:52 +0300
commit26da0af05c1fad57bc597a9f655a075a2c0005d8 (patch)
tree540a91ec8c5998a9cdb0482eaa5f4e6edaecb3fb /user_external
parent7eb4f0b9077adec0f39d33a658072e09625be68e (diff)
Make sharing easier
Now Users have just to enter a part of the name. e.g. 'do' for 'John Doe'. see also: owncloud/core#11256
Diffstat (limited to 'user_external')
-rw-r--r--user_external/lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_external/lib/base.php b/user_external/lib/base.php
index 7d01e7909..9d05451f6 100644
--- a/user_external/lib/base.php
+++ b/user_external/lib/base.php
@@ -82,7 +82,7 @@ abstract class Base extends \OC_User_Backend{
'limit' => $limit,
'offset' => $offset
),
- array($search . '%', $search . '%', $this->backend)
+ array('%' . $search . '%', '%' . $search . '%', $this->backend)
);
$displayNames = array();