issue #2227 like for date_posted, display all presets for date_created

This commit is contained in:
plegall 2024-09-20 14:21:28 +02:00
parent 49b2ab3855
commit a3e9ed23ce
9 changed files with 18 additions and 17 deletions

View file

@ -485,11 +485,11 @@ SELECT
$has_filters_filled = true;
$options = array(
'24h' => '24 HOUR',
'7d' => '7 DAY',
'30d' => '30 DAY',
'3m' => '3 MONTH',
'6m' => '6 MONTH',
'12m' => '12 MONTH',
);
if (isset($options[ $search['fields']['date_created']['preset'] ]) and 'custom' != $search['fields']['date_created']['preset'])