diff --git a/src/backend/model/database/AlbumManager.ts b/src/backend/model/database/AlbumManager.ts index 5ced81f6..f3e907b9 100644 --- a/src/backend/model/database/AlbumManager.ts +++ b/src/backend/model/database/AlbumManager.ts @@ -81,8 +81,8 @@ export class AlbumManager implements IObjectManager { return await connection .getRepository(AlbumBaseEntity) .createQueryBuilder('album') - .innerJoin('album.preview', 'preview') - .innerJoin('preview.directory', 'directory') + .leftJoin('album.preview', 'preview') + .leftJoin('preview.directory', 'directory') .select(['album', 'preview.name', 'directory.name', 'directory.path']) .getMany(); }