mirror of
https://github.com/immich-app/immich.git
synced 2026-03-04 09:57:33 +03:00
fix: X years ago ordering (#13742)
* fix: order by fileCreatedAt to account for tz * run make sql
This commit is contained in:
@@ -93,7 +93,7 @@ export class AssetRepository implements IAssetRepository {
|
||||
)
|
||||
.leftJoinAndSelect('entity.exifInfo', 'exifInfo')
|
||||
.leftJoinAndSelect('entity.files', 'files')
|
||||
.orderBy('entity.localDateTime', 'ASC')
|
||||
.orderBy('entity.fileCreatedAt', 'ASC')
|
||||
.getMany();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user