- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
if (isset($args['filter']['birthdate'])) {
$birthdate = $args['filter']['birthdate'];
$filters['birthdate'] = [];
if (!empty($birthdate['to'])) {
$filters['birthdate']['$lte'] = $birthdate['to'];
}
if (!empty($birthdate['from'])) {
$filters['birthdate']['$gte'] = $birthdate['from'] + 86399;
}
}
hormand 10.03.2023 18:08 # 0
BPAJlbMAH 13.03.2023 20:48 # 0