diff --git a/web/olt/home.py b/web/olt/home.py index 508acae..bedb0d0 100644 --- a/web/olt/home.py +++ b/web/olt/home.py @@ -234,7 +234,8 @@ def entry(rec, *, level=3, extra="", routes_list=False, hidden=False, eager=Fals # The filters ------------------------------------------------------------------ # One bar and one set of panels, on the home page and on every other page that shows a set of at -# least FILTER_MIN trails (listing()). Everything is built from the page's own trails: a facet that +# least FILTER_MIN trails (listing()), and on every park, range and wilderness page whatever its +# size (the owner's rule: every set of trails gets the bar). Everything is built from the page's own trails: a facet that # cannot narrow them is left out, and an option none of them has is not written. The numbers written # here are for the whole set; app.js counts again from the rows on the page every time anything # changes, and hides an option that would show nothing (its counting is facetCounts(), which @@ -315,11 +316,13 @@ def _missing(records, key): f'{esc(facets.missing_text(without, key))} They are left out while this filter is on.
') -def finder_form(records, c=None, steps=None, where="all"): +def finder_form(records, c=None, steps=None, where="all", bare_if_empty=False): """The bar (search, Filters, Clear) and the panels: the first-rank filters, then Walking, Shape and GPX behind "More". records: the page's own trails. where: the Where filter's scope ("all", "g: