Show the search box and filters on every park, range and wilderness page, however few trails it has
The bar was written only for a set of ten trails or more (home.FILTER_MIN, added with the list and place filters on 2026-11-17), which left the Wind River Range (7 trails), Yosemite (9) and the Ansel Adams Wilderness (5) with neither a search box nor Filters. Place pages now always get it, and a set that nothing can narrow gets the search box alone, with no Filters button and no empty panel. State and province pages keep the ten-trail threshold for now. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
30d03b8069
commit
d90fa49df5
4 files changed
+57
-10
No files matched your search
@@ -75,7 +75,7 @@ def _kind():
|
||||
kicker=_kicker, crumbs=_crumbs, lede=_lede, where="all", wholly=False,
|
||||
facts_place=lambda info: (_in_name(info), ()), title_options=_title_options,
|
||||
description=_description, box=lambda info: info.get("box"), nav=_nav,
|
||||
in_name=_in_name, phrase=_phrase)
|
||||
in_name=_in_name, phrase=_phrase, always_filters=True)
|
||||
|
||||
|
||||
PARK = _kind()
|
||||
|
||||
Reference in new issue
Block a user