Fix Error field type rich text (#8739)
fix #8445 It seems linked to commandBar search where we filter tasks/notes by body with ilike.
This commit is contained in:
@ -177,6 +177,15 @@ export const isRecordMatchingFilter = ({
|
|||||||
value: record[filterKey],
|
value: record[filterKey],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
case FieldMetadataType.RichText: {
|
||||||
|
// TODO: Implement a better rich text filter once it becomes a composite field
|
||||||
|
// See this issue for more context: https://github.com/twentyhq/twenty/issues/7613#issuecomment-2408944585
|
||||||
|
// This should be tackled in Q4'24
|
||||||
|
return isMatchingStringFilter({
|
||||||
|
stringFilter: filterValue as StringFilter,
|
||||||
|
value: record[filterKey],
|
||||||
|
});
|
||||||
|
}
|
||||||
case FieldMetadataType.Select:
|
case FieldMetadataType.Select:
|
||||||
return isMatchingSelectFilter({
|
return isMatchingSelectFilter({
|
||||||
selectFilter: filterValue as SelectFilter,
|
selectFilter: filterValue as SelectFilter,
|
||||||
|
|||||||
Reference in New Issue
Block a user