diff --git a/Changelog.md b/Changelog.md index 823176d..1259681 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,7 @@ ## v0.5.4 - 14th March 2019 - [API] Added device altitude information to `list-devices` and `device-info` actions + - [API] Added device type id property to `list-devices` action ## v0.5.3 - 7th March 2019 - Tweak x axis labels diff --git a/logic/Repositories/MariaDBDeviceRepository.php b/logic/Repositories/MariaDBDeviceRepository.php index b4b23aa..20a1d73 100644 --- a/logic/Repositories/MariaDBDeviceRepository.php +++ b/logic/Repositories/MariaDBDeviceRepository.php @@ -53,7 +53,8 @@ class MariaDBDeviceRepository implements IDeviceRepository { {$s("column_device_name")} AS name, {$s("column_lat")} AS latitude, {$s("column_long")} AS longitude, - {$s("column_altitude")} AS altitude + {$s("column_altitude")} AS altitude, + {$s("column_device_type")} AS type_id FROM {$s("table_name")}"; if($only_with_location) diff --git a/version b/version index 8ea9cc1..cacd6d6 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.5.4 +v0.5.4.1