Say "35 trails", not "35 of 35 trails", when nothing is filtered out
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s

The count above each set of rows keeps the "12 of 35 trails" form only
when some are filtered out, in the built pages and in the script alike.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-18 10:06:31 -07:00
1 parent 76622257b7
commit 5abd7b1ede
5 files changed
+50 -5

No files matched your search

+1 -1
View File
@@ -578,7 +578,7 @@ def results(recs=None, *, finder=False, groups=None, routes_list=False, default_
lists += f'\n <ol class="entries"{list_id}{every}>\n{rows}\n </ol>'
if finder:
count = (f'<p class="results-count" id="results-count" role="status" data-noun="{noun}">'
f'<strong>{total}</strong> of {total} {noun}</p>')
f'<strong>{total}</strong> {noun}</p>')
empty = f"""
<div class="empty-state" id="empty-state" hidden>
<p><strong>No {noun} match these filters.</strong></p>