Toggle days filter via icon and persist filter value

This commit is contained in:
2026-02-23 21:48:00 +01:00
parent 85f9de74bf
commit 4291b56fd9
3 changed files with 143 additions and 3 deletions

View File

@@ -1569,9 +1569,16 @@
<thead>
<tr>
<th>
<div class="bookmark-subpage__th-stack">
<button type="button" class="bookmark-subpage__sort" data-trade-sort="tage_bis_start">Tage bis Start</button>
<input type="text" id="tradeFairDaysFilterInput" class="bookmark-subpage__column-filter" placeholder=">0">
<div class="bookmark-subpage__th-stack" id="tradeFairDaysFilterContainer">
<div class="bookmark-subpage__th-controls">
<button type="button" class="bookmark-subpage__sort" data-trade-sort="tage_bis_start">Tage bis Start</button>
<button type="button" id="tradeFairDaysFilterToggle" class="bookmark-subpage__filter-toggle" aria-label="Filter fuer Tage bis Start umschalten" aria-expanded="false" title="Tage bis Start filtern">
<svg viewBox="0 0 20 20" aria-hidden="true" focusable="false">
<path d="M3 4.5C3 4.224 3.224 4 3.5 4h13c.276 0 .5.224.5.5 0 .118-.042.233-.117.323L12 10.409V15a.5.5 0 0 1-.224.416l-3 2A.5.5 0 0 1 8 17v-6.591L3.117 4.823A.5.5 0 0 1 3 4.5z"/>
</svg>
</button>
</div>
<input type="text" id="tradeFairDaysFilterInput" class="bookmark-subpage__column-filter" placeholder=">0" autocomplete="off" spellcheck="false">
</div>
</th>
<th><button type="button" class="bookmark-subpage__sort" data-trade-sort="rang">Rang</button></th>