mirror of
https://github.com/immich-app/immich.git
synced 2025-02-11 01:18:24 -05:00
parent
58bf58b393
commit
fe42e7410b
2 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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>[] = [];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue