mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
filter for not deleted space
This commit is contained in:
@ -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'],
|
||||||
|
Reference in New Issue
Block a user