feat: add support for search on nlp value description

This commit is contained in:
Mohamed Marrouchi
2025-03-21 15:16:58 +01:00
parent 0b902031fa
commit 7b111868ed
2 changed files with 5 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ export const NlpValues = ({ entityId }: { entityId: string }) => {
const canHaveSynonyms = nlpEntity?.lookups?.[0] === NlpLookups.keywords;
const { onSearch, searchPayload } = useSearch<INlpValue>({
$eq: [{ entity: entityId }],
$iLike: ["value"],
$or: ["doc","value"]
});
const { dataGridProps } = useFind(
{ entity: EntityType.NLP_VALUE },