diff --git a/.app_version b/.app_version index ac39a106..f374f666 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.9.0 +0.9.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 454b103d..fa1d679f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.9.1] — 2024-07-12 + +### Fixed + +- Fixed a bug where total reverse geocoded points were calculated based on number of *imported* points that are reverse geocoded, not on the number of *total* reverse geocoded points. + +--- + ## [0.9.0] — 2024-07-12 ### Added @@ -56,6 +64,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). } ``` +--- + ## [0.8.7] — 2024-07-09 ### Changed diff --git a/app/models/user.rb b/app/models/user.rb index 9d55cd47..6ed9922f 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -45,7 +45,7 @@ class User < ApplicationRecord end def total_reverse_geocoded - points.select(:id).where.not(geodata: {}).count + tracked_points.select(:id).where.not(geodata: {}).count end private