mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
The searchAssetBuilder was incorrectly adding withFacesAndPeople select when personIds was provided. This caused a SQL error because the subquery referenced asset.id which wasn't selected in statistics queries (only count(*) was selected). The fix removes personIds from the condition that triggers adding faces data to the select. The hasPeople filter (for personIds) is still applied correctly for filtering. Fixes #25003 Signed-off-by: majiayu000 <1835304752@qq.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| medium | ||
| repositories | ||
| sql-tools | ||
| medium.factory.ts | ||
| small.factory.ts | ||
| utils.ts | ||
| vitest.config.medium.mjs | ||
| vitest.config.mjs | ||