mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +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";
|
WHERE {$s("table_name")}.{$s("column_visible")} != 0";
|
||||||
|
|
||||||
if($only_with_location)
|
if($only_with_location)
|
||||||
$sql .= "\nWHERE
|
$sql .= "\nAND
|
||||||
{$s("column_lat")} IS NOT NULL
|
{$s("column_lat")} IS NOT NULL
|
||||||
AND {$s("column_long")} IS NOT NULL";
|
AND {$s("column_long")} IS NOT NULL";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "air-quality-mapper",
|
"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.",
|
"description": "The web interface and JSON api for the ConnectedHumber Air Quality Monitoring Project.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.mjs",
|
"main": "index.mjs",
|
||||||
|
|
Loading…
Reference in a new issue