mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: filter null duplicate assets (#21507)
This commit is contained in:
parent
e7b0a47be2
commit
5b8d72e91a
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ with
|
|||
) as "assets"
|
||||
from
|
||||
"asset"
|
||||
left join lateral (
|
||||
inner join lateral (
|
||||
select
|
||||
"asset".*,
|
||||
"asset_exif" as "exifInfo"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ export class DuplicateRepository {
|
|||
qb
|
||||
.selectFrom('asset')
|
||||
.$call(withDefaultVisibility)
|
||||
.leftJoinLateral(
|
||||
.innerJoinLateral(
|
||||
(qb) =>
|
||||
qb
|
||||
.selectFrom('asset_exif')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue