diff --git a/scripts/viewdb.php b/scripts/viewdb.php index 6f87301..9703232 100644 --- a/scripts/viewdb.php +++ b/scripts/viewdb.php @@ -42,7 +42,7 @@ $sql5 = "SELECT Com_Name,COUNT(*) AS Total FROM detections GROUP BY Com_Name - ORDER BY MAX(Confidence) DESC"; + ORDER BY Total DESC"; $speciestally = $mysqli->query($sql5); $mysqli->close(); diff --git a/templates/index.html b/templates/index.html index e24803f..a846354 100644 --- a/templates/index.html +++ b/templates/index.html @@ -325,7 +325,7 @@ footer {