From 85b7a9edf8c75f2f10f5ac12453ff4a36234ad25 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Sun, 23 Feb 2025 23:34:49 +0100 Subject: [PATCH] Update changelog --- CHANGELOG.md | 8 ++------ app/controllers/map_controller.rb | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b6cac6c..14fcf2e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,14 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). # 0.24.2 - 2025-02-15 -## TODO: - -- Realtime broadcast for importing progress - ## Fixed -- Fixed a bug where background jobs to import Immich and Photoprism geolocation data data could not be created by non-admin users. -- Fixed a bug where upon point deletion there was an error it was not being removed from the map, while it was actually deleted from the database. #883 +- Fixed a bug where non-admin users could not import Immich and Photoprism geolocation data. +- Fixed a bug where upon point deletion it was not being removed from the map, while it was actually deleted from the database. #883 - Fixed a bug where upon import deletion stats were not being recalculated. #824 ### Changed diff --git a/app/controllers/map_controller.rb b/app/controllers/map_controller.rb index cd1f73d1..11082b6e 100644 --- a/app/controllers/map_controller.rb +++ b/app/controllers/map_controller.rb @@ -8,7 +8,7 @@ class MapController < ApplicationController @coordinates = @points.pluck(:lonlat, :battery, :altitude, :timestamp, :velocity, :id, :country) - .map { |lonlat, *rest| [lonlat.y.to_f, lonlat.x.to_f, *rest.map(&:to_s)] } + .map { |lonlat, *rest| [lonlat.y, lonlat.x, *rest.map(&:to_s)] } @distance = distance @start_at = Time.zone.at(start_at) @end_at = Time.zone.at(end_at)