Allow group search by display name
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
9806dec9b3
commit
a636aef585
|
@ -287,6 +287,9 @@ class Database extends ABackend implements
|
|||
$query->where($query->expr()->iLike('gid', $query->createNamedParameter(
|
||||
'%' . $this->dbConn->escapeLikeParameter($search) . '%'
|
||||
)));
|
||||
$query->orWhere($query->expr()->iLike('displayname', $query->createNamedParameter(
|
||||
'%' . $this->dbConn->escapeLikeParameter($search) . '%'
|
||||
)));
|
||||
}
|
||||
|
||||
$query->setMaxResults($limit)
|
||||
|
|
Loading…
Reference in New Issue