1
0
mirror of https://github.com/immich-app/immich.git synced 2025-12-02 00:26:35 +02:00

fix(server): /search/random failing with certain options (#13040)

* fix relation handling, remove pagination

* update api, sql

* update mock
This commit is contained in:
Mert
2024-09-30 00:29:35 -04:00
committed by GitHub
parent 2f13db51df
commit 7adb35e59e
12 changed files with 250 additions and 62 deletions

View File

@@ -120,7 +120,7 @@ export function searchAssetBuilder(
}
if (withPeople) {
builder.leftJoinAndSelect(`${builder.alias}.person`, 'person');
builder.leftJoinAndSelect('faces.person', 'person');
}
if (withSmartInfo) {