Skip to content

Commit

Permalink
Change order of points on the Points page
Browse files Browse the repository at this point in the history
  • Loading branch information
Freika committed Jun 25, 2024
1 parent 6e89bc9 commit 3e2f9f7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .app_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.1
0.7.2
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ 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.7.2] — 2024-06-25

### Added

- New Settings page to change Dawarich settings.

### Changed

- Calculation of city visits that are shown in right sidebar on Map page was reworked and now is more accurate.
- Order of points on Points page is now descending by timestamp instead of ascending.

---

## [0.7.1] — 2024-06-20

In new Settings page you can now change the following settings:
Expand All @@ -22,6 +35,7 @@ In new Settings page you can now change the following settings:
- Old settings page is now available undeer Account link in user menu.

---

## [0.7.0] — 2024-06-19

## The GPX MVP Release
Expand Down
2 changes: 1 addition & 1 deletion app/assets/builds/tailwind.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/controllers/points_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def index
.tracked_points
.without_raw_data
.where(timestamp: start_at..end_at)
.order(timestamp: :asc)
.order(timestamp: :desc)
.paginate(page: params[:page], per_page: 50)

@start_at = Time.zone.at(start_at)
Expand Down

0 comments on commit 3e2f9f7

Please sign in to comment.