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

This commit is contained in:
johnnyq 2025-04-12 12:08:30 -04:00
parent 62696b9ebe
commit 424104bb66
1 changed files with 1 additions and 1 deletions

View File

@ -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