0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-11 01:18:24 -05:00

chore(server): follow up on #15899 (#15907)

This commit is contained in:
Alex 2025-02-04 16:57:11 -06:00 committed by GitHub
parent 58bf58b393
commit fe42e7410b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View file

@ -17,8 +17,6 @@ from
where
"isVisible" = $1
and "deletedAt" is null
and "exif"."latitude" is not null
and "exif"."longitude" is not null
and "ownerId" in ($2)
order by
"fileCreatedAt" desc

View file

@ -96,8 +96,6 @@ export class MapRepository {
.$if(fileCreatedAfter !== undefined, (q) => q.where('fileCreatedAt', '>=', fileCreatedAfter!))
.$if(fileCreatedBefore !== undefined, (q) => q.where('fileCreatedAt', '<=', fileCreatedBefore!))
.where('deletedAt', 'is', null)
.where('exif.latitude', 'is not', null)
.where('exif.longitude', 'is not', null)
.where((builder) => {
const expression: Expression<SqlBool>[] = [];