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:
@@ -100,7 +100,7 @@ if ($_GET['canned_date'] == "custom" && !empty($_GET['dtf'])) {
|
|||||||
$dtt = date('Y-m-d', strtotime("last day of december last year"));
|
$dtt = date('Y-m-d', strtotime("last day of december last year"));
|
||||||
} else {
|
} else {
|
||||||
$dtf = "NULL";
|
$dtf = "NULL";
|
||||||
$dtt = date('Y-m-d');
|
$dtt = '9999-12-31';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Archived
|
// Archived
|
||||||
|
|||||||
Reference in New Issue
Block a user