From 05cba16cef1c0657bbe3cd4fddb52cf00036413e Mon Sep 17 00:00:00 2001 From: giles Date: Thu, 19 Feb 2026 15:29:06 +0000 Subject: [PATCH] Fix category highlighting and revert current_local_href breakage - Update shared submodule: category selector uses slug comparison instead of current_local_href for active state - Keep current_local_href commented out in category_context() to avoid overriding the base template value used by brand filters Co-Authored-By: Claude Opus 4.6 --- bp/browse/services/nav.py | 2 +- shared | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bp/browse/services/nav.py b/bp/browse/services/nav.py index 761260a..bdef674 100644 --- a/bp/browse/services/nav.py +++ b/bp/browse/services/nav.py @@ -142,7 +142,7 @@ def category_context(top_slug: Optional[str], sub_slug: Optional[str], nav: Dict # list of subcategories, each with its own count "subs_local": _order_subs_selected_first(subs, sub_slug), - "current_local_href": current_local_href, + #"current_local_href": current_local_href, } def _apply_category_blacklist(nav: Dict[str, Dict]) -> Dict[str, Dict]: diff --git a/shared b/shared index d404349..98c3df8 160000 --- a/shared +++ b/shared @@ -1 +1 @@ -Subproject commit d4043498067d11f809d9a0668f8050de7e0360a6 +Subproject commit 98c3df860b1af7d78b129ae3248d5293f1f83692