Fixes #5499: Fix filtering of displayed device/VM interfaces by regex

This commit is contained in:
Jeremy Stretch
2020-12-18 15:02:52 -05:00
parent ef472e7c0c
commit 95c94b035c
4 changed files with 9 additions and 5 deletions

View File

@@ -447,7 +447,8 @@ class DeviceInterfaceTable(InterfaceTable):
'connection', 'actions',
)
row_attrs = {
'class': lambda record: record.cable.get_status_class() if record.cable else ''
'class': lambda record: record.cable.get_status_class() if record.cable else '',
'data-name': lambda record: record.name,
}