mirror of
https://github.com/immich-app/immich.git
synced 2025-09-29 15:31:13 -04:00
fix: filter null duplicate assets (#21507)
This commit is contained in:
parent
e7b0a47be2
commit
5b8d72e91a
@ -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…
x
Reference in New Issue
Block a user