2
0
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:
Alex
2015-11-30 23:15:42 +03:00
parent f8331fffe4
commit 08ffe6f809

View File

@@ -250,7 +250,7 @@ else
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
LEFT JOIN `extension` as e ON (e.current_operator_id = o.operator_id)
WHERE e.extension_id IS NULL";