mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-09 22:57:24 +00:00
add '%' to search (#452)
This commit is contained in:
@ -210,7 +210,7 @@ export class CommunityService {
|
||||
if (search) {
|
||||
qb.andWhere(
|
||||
`c.name ILIKE :search ${includeSpaces ? 'OR space.space_name ILIKE :search' : ''}`,
|
||||
{ search },
|
||||
{ search: `%${search}%` },
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user