Add Clause to not collapse advanced filter on all time aka if date from is set to the default 1970-01-01

This commit is contained in:
johnnyq
2025-10-20 18:16:39 -04:00
parent ab77705ca2
commit c5dd5f2b6f
12 changed files with 12 additions and 14 deletions

View File

@@ -70,7 +70,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
</div>
</div>
</div>
<div class="collapse mt-3 <?php if (isset($_GET['dtf'])) { echo "show"; } ?>" id="advancedFilter">
<div class="collapse mt-3 <?php if (isset($_GET['dtf']) && $_GET['dtf'] !== '1970-01-01') { echo "show"; } ?>" id="advancedFilter">
<div class="row">
<div class="col-md-3">
<div class="form-group">