Bei aktiver Freigabe wird dein aktueller Standort für passende Treffen in deiner Nähe verwendet. Du kannst die Abfrage hier jederzeit wieder auf Nachfrage oder komplett aus stellen.
+
diff --git a/partials/landing/main/home.php b/partials/landing/main/home.php
index dec6bad..01a8a60 100755
--- a/partials/landing/main/home.php
+++ b/partials/landing/main/home.php
@@ -7,7 +7,14 @@ $threadsForJs = [];
try {
$pdo = $app->pdo();
if ($pdo) {
- $stmt = $pdo->prepare('SELECT id, title, teaser_public, description, city, region, zip, starts_at, allow_kids, visibility, location_label, lat, lng, created_at FROM events WHERE starts_at >= NOW() AND status != "cancelled" ORDER BY created_at DESC, starts_at ASC LIMIT 10');
+ $stmt = $pdo->prepare('
+ SELECT id, title, teaser_public, description, city, region, zip, starts_at, allow_kids, visibility, location_label, lat, lng, created_at
+ FROM events
+ WHERE starts_at >= DATE_SUB(NOW(), INTERVAL 120 DAY)
+ AND status != "cancelled"
+ ORDER BY starts_at ASC
+ LIMIT 60
+ ');
$stmt->execute();
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC) ?: [];
foreach ($rows as $r) {
@@ -81,7 +88,7 @@ try {
-
Starte direkt mit der Suche nach passenden Treffen.