- Posts: 6
- Thank you received: 0
display article from a date to another date
- Alexandre Legendre
- Topic Author
- Offline
- Fresh Boarder
Less
More
7 years 11 months ago #8694
by Alexandre Legendre
Replied by Alexandre Legendre on topic display article from a date to another date
Thanks for your quick answer. Unfortunately this doesn't work. The result is empty.
Please Log in or Create an account to join the conversation.
7 years 11 months ago #8695
by Kiên
Replied by Kiên on topic display article from a date to another date
Try again
with $params->get('debut') and $params->get('fin') format: "Y-m-d h:i:s"
Code:
$model->setState('filter.date_filtering', 'range');
$model->setState('filter.start_date_range', $params->get('debut'));
$model->setState('filter.end_date_range', $params->get('fin'));
Please Log in or Create an account to join the conversation.
- Alexandre Legendre
- Topic Author
- Offline
- Fresh Boarder
Less
More
- Posts: 6
- Thank you received: 0
7 years 11 months ago #8696
by Alexandre Legendre
Replied by Alexandre Legendre on topic display article from a date to another date
It looks like it works!! Thanks a lot. I will do further tests before closing this ticket.
Please Log in or Create an account to join the conversation.
Time to create page: 0.234 seconds