Skip to content

Commit

Permalink
fix: order by fileCreatedAt to account for tz
Browse files Browse the repository at this point in the history
  • Loading branch information
darrelhong committed Oct 26, 2024
1 parent d95b474 commit d0e4f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/repositories/asset.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit d0e4f28

Please sign in to comment.