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
This commit is contained in:
Toni Förster
2015-01-21 01:46:52 +01:00
parent cf797fb97e
commit 1580d26488

View File

@@ -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();