Skip to content

Commit 1b936e1

Browse files
authored
Merge pull request #9125 from cfpb/revert-archive-subpages
Remove subpage types needed for archive
2 parents 58b1280 + f506147 commit 1b936e1

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

cfgov/v1/models/browse_filterable_page.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,4 @@ def get_search_class():
113113
class NewsroomLandingPage(BrowseFilterablePage):
114114
template = "v1/newsroom/index.html"
115115
filterable_categories = ["Newsroom"]
116-
# TODO: Remove "LegacyNewsroomPage" after archived pages move
117-
subpage_types = [
118-
"NewsroomPage",
119-
"LegacyNewsroomPage",
120-
]
116+
subpage_types = ["NewsroomPage"]

cfgov/v1/models/sublanding_filterable_page.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,9 @@ class SublandingFilterablePage(AbstractFilterablePage, CFGOVPage):
6161
"searchable using standard search filters module."
6262
)
6363

64-
# TODO: Remove "LegacyBlogPage", "NewsroomPage" after archived pages move
6564
subpage_types = [
6665
"DocumentDetailPage",
6766
"BlogPage",
68-
"LegacyBlogPage",
69-
"NewsroomPage",
7067
]
7168

7269

0 commit comments

Comments
 (0)