Skip to content

Commit 4a6e025

Browse files
committed
Fix filter not processing extra fields
1 parent cd2e70b commit 4a6e025

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

InteractiveHtmlBom/web/ibom.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ function entryMatches(entry) {
130130
return true;
131131
}
132132
}
133+
// check extra fields
134+
for (var i in config.extra_fields) {
135+
if (entry[4][i].toLowerCase().indexOf(filter) >= 0) {
136+
return true;
137+
}
138+
}
133139
// check value
134140
if (entry[1].toLowerCase().indexOf(filter) >= 0) {
135141
return true;

0 commit comments

Comments
 (0)