[BUG] mobile: album date range is wrong #1492

Closed
opened 2026-02-05 02:04:15 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @waclaw66 on GitHub (Oct 21, 2023).

The bug

All albums with assets taken within multiple days show wrong date range.

mobile web
obrazek obrazek

The OS that Immich Server is running on

Fedora 38

Version of Immich Server

v.1.82.1

Version of Immich Mobile App

1.82.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

not relevant

Additional information

No response

Originally created by @waclaw66 on GitHub (Oct 21, 2023). ### The bug All albums with assets taken within multiple days show wrong date range. |mobile|web| |--|--| |![obrazek](https://github.com/immich-app/immich/assets/15554561/3904125b-e961-4f3e-8326-08fd752a957c)|![obrazek](https://github.com/immich-app/immich/assets/15554561/2a2a5918-92a1-4a12-bb92-12dd45545cd9)| ### The OS that Immich Server is running on Fedora 38 ### Version of Immich Server v.1.82.1 ### Version of Immich Mobile App 1.82.0 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML not relevant ``` ### Your .env content ```Shell not relevant ``` ### Reproduction steps ```bash not relevant ``` ### Additional information _No response_
Author
Owner

@waclaw66 commented on GitHub (Oct 23, 2023):

The cause is that list of assets is not sorted and first and last could be random images from the list...
36b3521be8/mobile/lib/modules/album/views/album_viewer_page.dart (L167)

@waclaw66 commented on GitHub (Oct 23, 2023): The cause is that list of `assets` is not sorted and `first` and `last` could be random images from the list... https://github.com/immich-app/immich/blob/36b3521be8f9b2c4fa25ab2be73c715e71ed795b/mobile/lib/modules/album/views/album_viewer_page.dart#L167
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1492