refactor: remove smart info table (#13985)

This commit is contained in:
Jason Rasmussen 2024-11-07 11:25:10 -05:00 committed by GitHub
parent 6053214e75
commit 64831e2328
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 16 additions and 345 deletions

View file

@ -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()