@@ 838-841 (lines=4) @@ | ||
835 | } |
|
836 | ||
837 | // Date filtering |
|
838 | if (!empty($params['CreatedFrom'])) { |
|
839 | $fromDate = new DateField(null, null, $params['CreatedFrom']); |
|
840 | $list = $list->filter("Created:GreaterThanOrEqual", $fromDate->dataValue().' 00:00:00'); |
|
841 | } |
|
842 | if (!empty($params['CreatedTo'])) { |
|
843 | $toDate = new DateField(null, null, $params['CreatedTo']); |
|
844 | $list = $list->filter("Created:LessThanOrEqual", $toDate->dataValue().' 23:59:59'); |
|
@@ 842-845 (lines=4) @@ | ||
839 | $fromDate = new DateField(null, null, $params['CreatedFrom']); |
|
840 | $list = $list->filter("Created:GreaterThanOrEqual", $fromDate->dataValue().' 00:00:00'); |
|
841 | } |
|
842 | if (!empty($params['CreatedTo'])) { |
|
843 | $toDate = new DateField(null, null, $params['CreatedTo']); |
|
844 | $list = $list->filter("Created:LessThanOrEqual", $toDate->dataValue().' 23:59:59'); |
|
845 | } |
|
846 | ||
847 | // Categories |
|
848 | if (!empty($filters['AppCategory']) && !empty(File::config()->app_categories[$filters['AppCategory']])) { |