Merge pull request #336 from SyncrowIOT/SP-1421

filter for not deleted space
This commit is contained in:
hannathkadher
2025-04-16 10:46:47 +04:00
committed by GitHub

View File

@ -108,6 +108,7 @@ export class CommunityService {
const matchingSpaces = await this.spaceRepository.find({ const matchingSpaces = await this.spaceRepository.find({
where: { where: {
spaceName: ILike(`%${pageable.search}%`), spaceName: ILike(`%${pageable.search}%`),
disabled: false,
community: { project: { uuid: param.projectUuid } }, community: { project: { uuid: param.projectUuid } },
}, },
relations: ['community'], relations: ['community'],