mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
fix: locked photos shown in beta timeline favorite page (#20937)
This commit is contained in:
parent
1926c90780
commit
1a4eab9655
1 changed files with 5 additions and 1 deletions
|
|
@ -258,7 +258,11 @@ class DriftTimelineRepository extends DriftDatabaseRepository {
|
|||
);
|
||||
|
||||
TimelineQuery favorite(String userId, GroupAssetsBy groupBy) => _remoteQueryBuilder(
|
||||
filter: (row) => row.deletedAt.isNull() & row.isFavorite.equals(true) & row.ownerId.equals(userId),
|
||||
filter: (row) =>
|
||||
row.deletedAt.isNull() &
|
||||
row.isFavorite.equals(true) &
|
||||
row.ownerId.equals(userId) &
|
||||
row.visibility.equalsValue(AssetVisibility.timeline),
|
||||
groupBy: groupBy,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue