immich/server/test
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
..
fixtures fix: shared-link-mapper (#24794) 2026-01-05 10:03:35 -05:00
medium fix(server): search statistics with personIds returns 500 (#25074) 2026-01-06 08:54:12 -05:00
repositories feat(server): implement switchable logging formats (console/json) (#24791) 2026-01-05 09:21:02 -06:00
sql-tools feat: sql tools array as default value (#24389) 2025-12-04 12:54:20 -05:00
medium.factory.ts fix: asset update race condition (#24384) 2025-12-17 09:23:13 -06:00
small.factory.ts fix: asset update race condition (#24384) 2025-12-17 09:23:13 -06:00
utils.ts feat: maintenance mode (#23431) 2025-11-17 17:15:44 +00:00
vitest.config.medium.mjs feat: medium tests for user and sync service (#16304) 2025-02-25 16:31:07 +00:00
vitest.config.mjs refactor: sql-tools (#19717) 2025-07-03 10:59:17 -04:00