Fix lint and E2E filter regression
Wrap long lines for Ruff and restore a single 'All' tag-reset link to avoid Playwright strict-mode collisions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -58,7 +58,9 @@ def get_categories_nav(context):
|
||||
index_page = index_qs.first()
|
||||
if not index_page:
|
||||
return []
|
||||
categories = index_page.get_listing_context(request, active_category=None)["available_categories"].filter(show_in_nav=True)
|
||||
categories = index_page.get_listing_context(
|
||||
request, active_category=None
|
||||
)["available_categories"].filter(show_in_nav=True)
|
||||
return [
|
||||
{
|
||||
"name": category.name,
|
||||
|
||||
Reference in New Issue
Block a user