mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: remote album timeline filter (#22423)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
30a378c580
commit
7d8cd05bc2
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ class DriftTimelineRepository extends DriftDatabaseRepository {
|
|||
_db.remoteAssetEntity.checksum.equalsExp(_db.localAssetEntity.checksum),
|
||||
useColumns: false,
|
||||
),
|
||||
])..where(_db.remoteAssetEntity.deletedAt.isNull() & _db.remoteAssetEntity.id.equals(albumId));
|
||||
])..where(_db.remoteAssetEntity.deletedAt.isNull() & _db.remoteAlbumAssetEntity.albumId.equals(albumId));
|
||||
|
||||
if (isAscending) {
|
||||
query.orderBy([OrderingTerm.asc(_db.remoteAssetEntity.createdAt)]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue