mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-25 06:53:00 +00:00
Bugfix: Correct SQL. Fixes #63
This commit is contained in:
parent
5f3dc49802
commit
179430f6b8
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue