immich/server/test/medium/specs
lif 263f96da87
fix(server): search statistics with personIds returns 500 (#25074)
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>
2026-01-06 08:54:12 -05:00
..
exif fix: bad merge (#23610) 2025-11-04 16:22:45 -05:00
repositories refactor: asset update medium tests (#24718) 2025-12-19 16:25:04 +00:00
services fix(server): search statistics with personIds returns 500 (#25074) 2026-01-06 08:54:12 -05:00
sync fix: asset update race condition (#24384) 2025-12-17 09:23:13 -06:00