You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-12-02 00:26:35 +02:00
refactor: remove smart info table (#13985)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user