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
|
where
|
||||||
"isVisible" = $1
|
"isVisible" = $1
|
||||||
and "deletedAt" is null
|
and "deletedAt" is null
|
||||||
and "exif"."latitude" is not null
|
|
||||||
and "exif"."longitude" is not null
|
|
||||||
and "ownerId" in ($2)
|
and "ownerId" in ($2)
|
||||||
order by
|
order by
|
||||||
"fileCreatedAt" desc
|
"fileCreatedAt" desc
|
||||||
|
|
|
@ -96,8 +96,6 @@ export class MapRepository {
|
||||||
.$if(fileCreatedAfter !== undefined, (q) => q.where('fileCreatedAt', '>=', fileCreatedAfter!))
|
.$if(fileCreatedAfter !== undefined, (q) => q.where('fileCreatedAt', '>=', fileCreatedAfter!))
|
||||||
.$if(fileCreatedBefore !== undefined, (q) => q.where('fileCreatedAt', '<=', fileCreatedBefore!))
|
.$if(fileCreatedBefore !== undefined, (q) => q.where('fileCreatedAt', '<=', fileCreatedBefore!))
|
||||||
.where('deletedAt', 'is', null)
|
.where('deletedAt', 'is', null)
|
||||||
.where('exif.latitude', 'is not', null)
|
|
||||||
.where('exif.longitude', 'is not', null)
|
|
||||||
.where((builder) => {
|
.where((builder) => {
|
||||||
const expression: Expression<SqlBool>[] = [];
|
const expression: Expression<SqlBool>[] = [];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue