diff --git a/logic/Repositories/MariaDBDeviceRepository.php b/logic/Repositories/MariaDBDeviceRepository.php index df071a6..12a0b45 100644 --- a/logic/Repositories/MariaDBDeviceRepository.php +++ b/logic/Repositories/MariaDBDeviceRepository.php @@ -95,7 +95,7 @@ class MariaDBDeviceRepository implements IDeviceRepository { WHERE {$s("table_name")}.{$s("column_visible")} != 0"; if($only_with_location) - $sql .= "\nWHERE + $sql .= "\nAND {$s("column_lat")} IS NOT NULL AND {$s("column_long")} IS NOT NULL"; diff --git a/package.json b/package.json index fd692d8..4f34897 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "air-quality-mapper", - "version": "0.13.4-dev", + "version": "0.13.4", "description": "The web interface and JSON api for the ConnectedHumber Air Quality Monitoring Project.", "private": true, "main": "index.mjs",