mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-31 10:15:54 +00:00
* Allow submission of null country
* Update searchAssetBuilder to handle nulls
andWhere({country:null}) produces `"exifInfo"."country" = NULL`. We want
`"exifInfo"."country" IS NULL`, so we have to treat NULL as a special
case
* Allow null country in frontend
* Make the query code a bit more straightforward
* Remove unused brackets import
* Remove log message
* Don't change whitespace for no reason
* Fix prettier style issue
* Update search.dto.ts validators per @jrasm91's recommendation
* Update api types
* Combine null country and state into one guard clause
* chore: clean up
* chore: add e2e for null/empty city, state, country search
* refactor: server returns suggestion for null values
* chore: clean up
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
|
||
|---|---|---|
| .. | ||
| activity.e2e-spec.ts | ||
| album.e2e-spec.ts | ||
| asset.e2e-spec.ts | ||
| audit.e2e-spec.ts | ||
| auth.e2e-spec.ts | ||
| download.e2e-spec.ts | ||
| library.e2e-spec.ts | ||
| map.e2e-spec.ts | ||
| memory.e2e-spec.ts | ||
| oauth.e2e-spec.ts | ||
| partner.e2e-spec.ts | ||
| person.e2e-spec.ts | ||
| search.e2e-spec.ts | ||
| server-info.e2e-spec.ts | ||
| server.e2e-spec.ts | ||
| session.e2e-spec.ts | ||
| shared-link.e2e-spec.ts | ||
| system-config.e2e-spec.ts | ||
| system-metadata.e2e-spec.ts | ||
| timeline.e2e-spec.ts | ||
| trash.e2e-spec.ts | ||
| user-admin.e2e-spec.ts | ||
| user.e2e-spec.ts | ||