mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-12-25 10:55:01 +00:00
Bugfix: Correct SQL. Fixes #63
This commit is contained in:
parent
cdb656b4b3
commit
552a640600
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