mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
refactor: remove smart info table (#13985)
This commit is contained in:
parent
6053214e75
commit
64831e2328
25 changed files with 16 additions and 345 deletions
|
|
@ -90,7 +90,6 @@ export function searchAssetBuilder(
|
|||
isNotInAlbum,
|
||||
withFaces,
|
||||
withPeople,
|
||||
withSmartInfo,
|
||||
personIds,
|
||||
withStacked,
|
||||
trashedAfter,
|
||||
|
|
@ -123,10 +122,6 @@ export function searchAssetBuilder(
|
|||
builder.leftJoinAndSelect('faces.person', 'person');
|
||||
}
|
||||
|
||||
if (withSmartInfo) {
|
||||
builder.leftJoinAndSelect(`${builder.alias}.smartInfo`, 'smartInfo');
|
||||
}
|
||||
|
||||
if (personIds && personIds.length > 0) {
|
||||
const cte = builder
|
||||
.createQueryBuilder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue