This commit is contained in:
2026-01-02 01:59:05 +01:00
parent 6f4de5cb9e
commit 9bc78c157c

View File

@@ -73,7 +73,7 @@ final class Search
// Radius for HAVING // Radius for HAVING
$bind[] = $radius; $bind[] = $radius;
} else { } else {
$sql = "SELECT id, title, teaser_public, description, city, region, zip, starts_at, visibility, allow_kids, location_label, lat, lng, 30 AS distance_km"; $sql = "SELECT id, title, teaser_public, description, city, region, zip, starts_at, visibility, allow_kids, location_label, lat, lng, 5 AS distance_km";
} }
$where = $whereParts ? ('WHERE ' . implode(' AND ', $whereParts)) : ''; $where = $whereParts ? ('WHERE ' . implode(' AND ', $whereParts)) : '';