fix count

This commit is contained in:
alejandro.campos@artica.es 2022-10-13 12:27:31 +02:00
parent e5bdceee78
commit 657e7fe7d5
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ if ($searchAgents) {
if ($agents !== false) {
$totalAgents = db_get_value_sql(
'SELECT COUNT(id_agente) AS agent_count '.$sql
'SELECT COUNT(DISTINCT id_agente) AS agent_count '.$sql
);
}
}