From 424104bb66135d2d2dc132c4f9a07bfb7bfb123b Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 12 Apr 2025 12:08:30 -0400 Subject: [PATCH] Default Date between max date to 9999-12-31 instead of current date for filtered listings, this fixes the issue if you post date an entity it would not show in the listing by default unless you selected a a great to date in the filter --- includes/filter_header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filter_header.php b/includes/filter_header.php index 077fa95d..08e0cd39 100644 --- a/includes/filter_header.php +++ b/includes/filter_header.php @@ -100,7 +100,7 @@ if ($_GET['canned_date'] == "custom" && !empty($_GET['dtf'])) { $dtt = date('Y-m-d', strtotime("last day of december last year")); } else { $dtf = "NULL"; - $dtt = date('Y-m-d'); + $dtt = '9999-12-31'; } // Archived