Skip to content

A live bird collage card for your Home Assistant dashboard.

Typo

Patrick McGuirefc6cf7bd8497
diff --git a/scripts/overview.php b/scripts/overview.php
index 35cb628e..d45d5882 100644
--- a/scripts/overview.php
+++ b/scripts/overview.php
@@ -10,7 +10,7 @@ if($db == False) {
if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isset($_GET['previous_detection_identifier'])) {
- $statement4 = $db->prepare('SELECT Com_Name, Sci_Name, Date, Time, Confidence, File_Name FROM detections ORDER BY Date DESC, Time DESC LIMIT 50');
+ $statement4 = $db->prepare('SELECT Com_Name, Sci_Name, Date, Time, Confidence, File_Name FROM detections ORDER BY Date DESC, Time DESC LIMIT 5');
if($statement4 == False) {
echo "Database is busy";
header("refresh: 0;");