aboutsummaryrefslogtreecommitdiffstats
path: root/lib/srtgui/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/srtgui/tables.py')
-rw-r--r--lib/srtgui/tables.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/srtgui/tables.py b/lib/srtgui/tables.py
index 0535a7a1..09446fae 100644
--- a/lib/srtgui/tables.py
+++ b/lib/srtgui/tables.py
@@ -317,8 +317,8 @@ class SelectCveTable(ToasterTable):
context['components'] = Defect.Components
return context
- def apply_row_customization(self, data):
- data = super(SelectCveTable, self).apply_row_customization(data)
+ def apply_row_customization(self, row):
+ data = super(SelectCveTable, self).apply_row_customization(row)
# data:dict_keys(['rows', 'total', 'default_orderby', 'error', 'columns'])
# comments_private -> recommend_list
@@ -804,6 +804,7 @@ class CweCvesTable(CvesTable):
def __init__(self, *args, **kwargs):
super(CweCvesTable, self).__init__(*args, **kwargs)
self.default_orderby = "name"
+ self.cwe = None
def get_context_data(self, **kwargs):
cwe_name = self.request.GET.get('cwe_name','')
@@ -1869,12 +1870,6 @@ class UpdatePublishedTable(ToasterTable):
orderable=True,
)
- if False:
- self.add_column(title="Note",
- field_name="note",
- hideable=False,
- )
-
class NotificationsTable(ToasterTable):
"""Table of Notifications in SRTool"""