Fix calcolo devices per vendor
This commit is contained in:
parent
aca9cb8e36
commit
297d2f20cf
|
@ -299,7 +299,7 @@ switch( $_POST['op'] ){
|
||||||
$sql = "
|
$sql = "
|
||||||
SELECT
|
SELECT
|
||||||
SUBSTRING(mac, 1, 8) AS indice,
|
SUBSTRING(mac, 1, 8) AS indice,
|
||||||
COUNT(mac) AS valore
|
COUNT(DISTINCT(mac)) AS valore
|
||||||
FROM
|
FROM
|
||||||
`logs`
|
`logs`
|
||||||
GROUP BY
|
GROUP BY
|
||||||
|
|
Loading…
Reference in New Issue