Skip to content

Commit aae44eb

Browse files
authored
Merge pull request #321 from nexB/320-lang-filter-fix
Programming language and file name now being filtered correctly #320
2 parents f7f7650 + 427e53d commit aae44eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/app/js/controllers/aboutCodeScanDataTable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ class AboutCodeScanDataTable extends Controller {
274274
{ $eq: null }
275275
]
276276
};
277-
} else if (columnName === 'extension') {
277+
// FIXME: This should probalby be a list if any more vales are added
278+
} else if (columnName === 'extension' || columnName === 'programming_language' || columnName === 'name') {
278279
query.where.$and[columnName] = {
279280
$eq: columnSearch
280281
};

0 commit comments

Comments
 (0)