High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): typeorm (੭ °ཀ°)੭ (#13411)
Alex5a3e3529509f
diff --git a/server/src/utils/database.ts b/server/src/utils/database.tsindex 45fb6c6dae..55e4fcb0e5 100644--- a/server/src/utils/database.ts+++ b/server/src/utils/database.ts@@ -136,6 +136,8 @@ export function searchAssetBuilder(.groupBy(`faces."assetId"`).having(`COUNT(DISTINCT faces."personId") = :personCount`, { personCount: personIds.length });builder.addCommonTableExpression(cte, 'face_ids').innerJoin('face_ids', 'a', 'a."assetId" = asset.id');++ builder.getQuery(); // typeorm mixes up parameters without this (੭ °ཀ°)੭}if (withStacked) {