Skip to content

Commit

Permalink
refactor: remove ENABLE_CATALOG_SORTING (#3359)
Browse files Browse the repository at this point in the history
  • Loading branch information
asadali145 authored Jan 10, 2025
1 parent 1a6c824 commit c874780
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions cms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,6 @@ def get_context(self, request, *args, **kwargs): # noqa: ARG002
}
for sorting_option in CatalogSorting
],
enable_catalog_sorting=settings.FEATURES.get(
"ENABLE_CATALOG_SORTING", True
),
)


Expand Down
2 changes: 0 additions & 2 deletions cms/templates/catalog_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ <h1>{{ site_name }}—Professional Development, the MIT Way</h1>
</li>
</ul>
</div>
{% if enable_catalog_sorting %}
<div
class="catalog-sort-by-dropdown dropdown"
id="catalogSortDropdown"
Expand Down Expand Up @@ -164,7 +163,6 @@ <h1>{{ site_name }}—Professional Development, the MIT Way</h1>
{% endfor %}
</div>
</div>
{% endif %}
</div>
<div class="tab-content">
{% if featured_product.program %}
Expand Down

0 comments on commit c874780

Please sign in to comment.