fix(kb.gbapp): Fixing WHOLE WORD in Simple Search.
This commit is contained in:
parent
26a78d59ef
commit
3ad3459e4b
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ export class KBService implements IGBKBService {
|
||||||
question = await GuaribasQuestion.findOne({
|
question = await GuaribasQuestion.findOne({
|
||||||
where: {
|
where: {
|
||||||
instanceId: instanceId,
|
instanceId: instanceId,
|
||||||
content: { [Op.like]: `%${text}%` }
|
content: { [Op.like]: `%[^a-z]${text}[^a-z]%` }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue