mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
display operator lastname in selector too (as firstnames might be the same)
This commit is contained in:
@@ -250,7 +250,7 @@ else
|
|||||||
|
|
||||||
if (!empty($rs))
|
if (!empty($rs))
|
||||||
{
|
{
|
||||||
$sql = "SELECT o.operator_id as value, o.firstName as description
|
$sql = "SELECT o.operator_id as value, CONCAT(o.firstName,' ',o.lastname) as description
|
||||||
FROM `operator` as o
|
FROM `operator` as o
|
||||||
LEFT JOIN `extension` as e ON (e.current_operator_id = o.operator_id)
|
LEFT JOIN `extension` as e ON (e.current_operator_id = o.operator_id)
|
||||||
WHERE e.extension_id IS NULL";
|
WHERE e.extension_id IS NULL";
|
||||||
|
|||||||
Reference in New Issue
Block a user