mirror of https://github.com/itflow-org/itflow
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:
parent
62696b9ebe
commit
424104bb66
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue