Skip to content

Conversation

@alextran1502
Copy link
Member

Fixes #15607
Fixes #14681

@alextran1502 alextran1502 changed the title fix(mobile): failed to get albums with archived assets fix(server): failed to get albums with archived assets Jan 24, 2025
@alextran1502 alextran1502 enabled auto-merge (squash) January 24, 2025 17:40
@alextran1502 alextran1502 merged commit 9d8072b into main Jan 24, 2025
36 checks passed
@alextran1502 alextran1502 deleted the fix-album-not-fetched-on-mobile branch January 24, 2025 17:54
vladd11 pushed a commit to vladd11/immich that referenced this pull request Jan 25, 2025
)

* fix(mobile): failed to get albums with archived assets

* sql
.innerJoin('albums_assets_assets', 'albums_assets_assets.assetsId', 'assets.id')
.whereRef('albums_assets_assets.albumsId', '=', 'albums.id')
.where('assets.deletedAt', 'is', null)
.where('assets.isArchived', '=', false)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct? Don't you want to exclude archived assets from the album view?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Immich Albums not showing up in android app Mobile app can't sync album that is currently being appended to.

4 participants