crash.software
Projects
Pull Requests
Issues
Builds
opencti
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
opencti
Commits
9bb7c33e
🤬
Sign In
[back] Multiple Indicator Type Filters in live datastream (
#2594
)
Julien Richard
committed
1 year ago
9bb7c33e
1 parent
7ebe03c9
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
Total 1 files
■ ■
■ ■
■ ■
opencti-platform/opencti-graphql/src/graphql/sseMiddleware.js
skipped 525 lines
526
526
}
527
527
// String filtering
528
528
if (type === PATTERN_FILTER) {
529
-
const { id } = R.head(values);
530
-
const found = id === instance[type];
529
+
const currentPattern = instance[type];
530
+
const found = values.map((v) => v.id).includes(currentPattern);
531
531
if (!found) {
532
532
return false;
533
533
}
skipped 324 lines
All occurrences
Please wait...
Page is in error, reload to recover