mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-04 14:13:52 +09:00
Merge pull request #598 from FOSSBilling/fix/client-name-lookup
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -32,4 +32,5 @@ npm-debug.log
|
||||
src/.php-cs-fixer.cache
|
||||
|
||||
.vscode
|
||||
.nova
|
||||
.php-cs-fixer.cache
|
||||
@@ -211,7 +211,7 @@ class Service implements InjectionAwareInterface
|
||||
public function getPairs($data)
|
||||
{
|
||||
$limit = $this->di['array_get']($data, 'per_page', 30);
|
||||
[$sql, $params] = $this->getSearchQuery($data, "SELECT c.id, CONCAT(c.first_name, ' ', c.last_name) as full_name");
|
||||
[$sql, $params] = $this->getSearchQuery($data, "SELECT c.id, CONCAT_WS('', c.first_name, ' ', c.last_name) as full_name");
|
||||
$sql = $sql . ' LIMIT ' . $limit;
|
||||
|
||||
return $this->di['db']->getAssoc($sql, $params);
|
||||
|
||||
Reference in new issue
Block a user