QoL 79: the date filter box on list pages shows All Time or its date range from the first paint instead of filling in after the page loads

This commit is contained in:
johnnyq
2026-11-21 21:33:55 -05:00
parent 4522b06522
commit 78cc187f3b
29 changed files with 136 additions and 23 deletions

View File

@@ -131,7 +131,7 @@ $filtered_dates = isset($_GET['dtf']) && $_GET['dtf'] !== '' && $_GET['dtf'] !==
<label class="form-label" for="dateFilter">Queued</label>
<div class="input-group">
<span class="input-group-text"><i class="fas fa-fw fa-calendar-alt"></i></span>
<input type="text" id="dateFilter" class="form-control" autocomplete="off">
<input type="text" id="dateFilter" value="<?= escapeHtml(dateFilterLabel($dtf ?? '', $dtt ?? '')) ?>" class="form-control" autocomplete="off">
</div>
<input type="hidden" name="canned_date" id="canned_date" value="<?= escapeHtml($_GET['canned_date'] ?? '') ?>">
<input type="hidden" name="dtf" id="dtf" value="<?= escapeHtml($dtf ?? '') ?>">