Skip to content

Commit

Permalink
[frontend] fix hash check search bulk (OpenCTI-Platform#7964)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyCloarec authored Aug 26, 2024
1 parent 211af3d commit d0c3320
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ const SearchBulk = () => {
=== value.toLowerCase()
|| o.subject?.toLowerCase() === value.toLowerCase()
|| o.abstract?.toLowerCase() === value.toLowerCase()
|| o.hashes?.map((hash) => hash.hash.toLowerCase() === value.toLowerCase()),
|| o.hashes
?.map((h) => h.hash.toLowerCase())
.includes(value.toLowerCase()),
);
if (resolvedStixCoreObjects.length > 0) {
return resolvedStixCoreObjects.map(
Expand Down

0 comments on commit d0c3320

Please sign in to comment.