diff --git a/hypha/apply/funds/tables.py b/hypha/apply/funds/tables.py index cff5208cc5259465c6314580d1965b3194ffe4b6..719b87fba8e03da2ad62b8f525d6cf3b2dfc3254 100644 --- a/hypha/apply/funds/tables.py +++ b/hypha/apply/funds/tables.py @@ -87,10 +87,10 @@ class SubmissionsTable(tables.Table): return qs, True # For when we update to Django Tables2 2.x. - # def get_column_class_names(self, classes_set, bound_column): - # classes_set = super(SubmissionsTable, self).get_column_class_names(classes_set, bound_column) - # classes_set.add(bound_column.name) - # return classes_set + def get_column_class_names(self, classes_set, bound_column): + classes_set = super(SubmissionsTable, self).get_column_class_names(classes_set, bound_column) + classes_set.add(bound_column.name) + return classes_set class ReviewerSubmissionsTable(SubmissionsTable): diff --git a/hypha/apply/funds/views.py b/hypha/apply/funds/views.py index 66d4aa8f2e93c429226c99dd9e6e87c0222133ba..d71f1375210d0a8aaa049b92dab03c3fdc996ece 100644 --- a/hypha/apply/funds/views.py +++ b/hypha/apply/funds/views.py @@ -92,7 +92,7 @@ class BaseAdminSubmissionsTable(SingleTableMixin, FilterView): table_class = AdminSubmissionsTable filterset_class = SubmissionFilterAndSearch filter_action = '' - table_pagination = {'klass': LazyPaginator} + table_pagination = {'paginator_class': LazyPaginator} excluded_fields = []