|
99 | 99 | from dje.views import Header |
100 | 100 | from dje.views import LicenseDataForBuilderMixin |
101 | 101 | from dje.views import ObjectDetailsView |
102 | | -from dje.views import PreviousNextPaginationMixin |
| 102 | +from dje.views import PaginationMixin |
103 | 103 | from dje.views import SendAboutFilesView |
104 | 104 | from dje.views import TabContentView |
105 | 105 | from dje.views import TabField |
@@ -164,7 +164,6 @@ class ProductListView( |
164 | 164 | filterset_class = ProductFilterSet |
165 | 165 | template_name = "product_portfolio/product_list.html" |
166 | 166 | template_list_table = "product_portfolio/tables/product_list_table.html" |
167 | | - paginate_by = 50 |
168 | 167 | put_results_in_session = False |
169 | 168 | group_name_version = True |
170 | 169 | table_headers = ( |
@@ -733,7 +732,7 @@ def get_context_data(self, **kwargs): |
733 | 732 | class ProductTabInventoryView( |
734 | 733 | LoginRequiredMixin, |
735 | 734 | BaseProductViewMixin, |
736 | | - PreviousNextPaginationMixin, |
| 735 | + PaginationMixin, |
737 | 736 | TabContentView, |
738 | 737 | ): |
739 | 738 | template_name = "product_portfolio/tabs/tab_inventory.html" |
@@ -978,7 +977,7 @@ def inject_scan_data(scancodeio, feature_grouped, dataspace_uuid): |
978 | 977 | class ProductTabCodebaseView( |
979 | 978 | LoginRequiredMixin, |
980 | 979 | BaseProductViewMixin, |
981 | | - PreviousNextPaginationMixin, |
| 980 | + PaginationMixin, |
982 | 981 | TabContentView, |
983 | 982 | ): |
984 | 983 | template_name = "product_portfolio/tabs/tab_codebase.html" |
@@ -1059,7 +1058,7 @@ def has_any_values(field_name): |
1059 | 1058 | class ProductTabDependenciesView( |
1060 | 1059 | LoginRequiredMixin, |
1061 | 1060 | BaseProductViewMixin, |
1062 | | - PreviousNextPaginationMixin, |
| 1061 | + PaginationMixin, |
1063 | 1062 | TableHeaderMixin, |
1064 | 1063 | TabContentView, |
1065 | 1064 | ): |
@@ -1138,7 +1137,7 @@ def get_context_data(self, **kwargs): |
1138 | 1137 | class ProductTabVulnerabilitiesView( |
1139 | 1138 | LoginRequiredMixin, |
1140 | 1139 | BaseProductViewMixin, |
1141 | | - PreviousNextPaginationMixin, |
| 1140 | + PaginationMixin, |
1142 | 1141 | TableHeaderMixin, |
1143 | 1142 | TabContentView, |
1144 | 1143 | ): |
|
0 commit comments