immich/server
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
..
bin feat: run e2e server in dev mode (#23921) 2025-11-17 14:16:39 -06:00
resources feat: use immich hosted map tiles (#11332) 2024-07-26 15:41:09 +01:00
src fix(server): search statistics with personIds returns 500 (#25074) 2026-01-06 08:54:12 -05:00
test fix(server): search statistics with personIds returns 500 (#25074) 2026-01-06 08:54:12 -05:00
.gitignore feat(web): re-add open graph tags for public share links (#5635) 2023-12-11 13:37:47 -06:00
.npmignore chore: use pnpm for builds (#19752) 2025-08-19 08:55:24 -04:00
.nvmrc chore(deps): update node.js to v24.12.0 (#25046) 2026-01-05 20:13:34 +00:00
.prettierignore refactor: migrate map repository to kysely (#15348) 2025-01-17 09:14:42 -06:00
.prettierrc fix(server): lint import order (#3974) 2023-09-04 21:45:59 +02:00
Dockerfile fix(server): building docker image for different platforms on the same host (#24459) 2025-12-08 09:15:43 -06:00
Dockerfile.dev chore: update sharp to 0.34.5 (#24170) 2025-11-27 15:13:16 +00:00
eslint.config.mjs chore: finish migrating eslint config files; bump unicorn (#17200) 2025-03-31 12:18:25 +01:00
mise.toml feat: mise monorepo tasks (#23691) 2025-11-10 15:55:15 +01:00
nest-cli.json fix: isolate docker host/container filesystem for node_modules and build output (#21167) 2025-08-24 13:09:45 -05:00
package.json chore(deps): update node.js to v24.12.0 (#25046) 2026-01-05 20:13:34 +00:00
tsconfig.build.json fix: exclude e2e format (#3250) 2023-07-13 21:41:16 -05:00
tsconfig.json feat(server): people sync (#19854) 2025-07-10 11:32:42 -04:00