Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions htmlreport/cppcheck-htmlreport
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,9 @@ def filter_button(enabled_filters, id, function):
def filter_bar(enabled):
severity_bar = ''.join([filter_button(enabled, severity, 'toggleSeverity') for severity in ['error', 'warning', 'portability', 'performance', 'style', 'information']]) + '\n | '
classification_bar = ''.join([filter_button(enabled, _class, 'toggleClassification') for _class in ['Mandatory', 'Required', 'Advisory', 'Document', 'Disapplied', 'L1','L2','L3','']]) + '\n | '
if "checked/>" not in severity_bar:
if "checked>" not in severity_bar:
severity_bar = ''
if "checked/>" not in classification_bar:
if "checked>" not in classification_bar:
classification_bar = ''
return ''.join([
' <div id="filters">\n'
Expand Down
Loading