1
0
mirror of https://github.com/immich-app/immich.git synced 2025-02-14 19:35:28 +02:00

Merge branch 'feat/nullable-dates' into feat/inline-offline-check

This commit is contained in:
Jonathan Jogenfors 2025-02-04 11:00:08 +01:00
commit df56b4121c
2 changed files with 1 additions and 3 deletions

View File

@ -495,8 +495,6 @@ export class AssetRepository implements IAssetRepository {
qb
.leftJoin('asset_job_status as job_status', 'assets.id', 'job_status.assetId')
.where((eb) => eb.or([eb('job_status.metadataExtractedAt', 'is', null), eb('assetId', 'is', null)]))
.where('assets.fileCreatedAt', 'is not', null)
.where('assets.fileModifiedAt', 'is not', null)
.where('assets.isVisible', '=', true),
)
.$if(property === WithoutProperty.FACES, (qb) =>

View File

@ -164,7 +164,7 @@ export class MetadataService extends BaseService {
this.logger.verbose('Exif Tags', exifTags);
if (!asset.fileCreatedAt) {
asset.fileCreatedAt = stats.birthtime;
asset.fileCreatedAt = stats.mtime;
}
if (!asset.fileModifiedAt) {