mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix: person thumbnail generation on edited assets (#26112)
* fix: person thumbnail generation on edited assets * chore: sql sync
This commit is contained in:
@@ -288,6 +288,7 @@ export class PersonRepository {
|
||||
.select('asset_file.path')
|
||||
.whereRef('asset_file.assetId', '=', 'asset.id')
|
||||
.where('asset_file.type', '=', sql.lit(AssetFileType.Preview))
|
||||
.where('asset_file.isEdited', '=', false)
|
||||
.as('previewPath'),
|
||||
)
|
||||
.where('person.id', '=', id)
|
||||
|
||||
Reference in New Issue
Block a user