Let a set with no trails build its filter bar, and pin the Places page's new jump-link anchor in the state-pages golden file

In the golden file only the hash of /regions/ changed, by the anchor the jump row's first link goes to.
This commit is contained in:
swaits committed 2026-11-20 14:08:34 -07:00
1 parent f669a6695a
commit fc66f541a3
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -336,7 +336,7 @@ def finder_form(records, c=None, steps=None, where="all", bare_if_empty=False):
<label class="field__label" for="where">{facets.WHERE}</label>
<select class="select" id="where" name="where">{opts}</select>
</div>""")
kms = [r["length_km"] for r in records]
kms = [r["length_km"] for r in records] or [0]
if any(min(kms) < n * words.KM_PER_MI <= max(kms) for n in steps):
first.append(f"""<fieldset class="field" data-facet="length">
<legend>{facets.LENGTH}</legend>