Closed ioleo closed 9 years ago
Probably forgot about some details ;) Time to test...
@loostro You've forgot to mention, that we needs to modify filterDate
function in ListController
to make s2a_daterange_picker
filter works as expected:
class ListController extends BaseListController
{
protected function filterDate($queryFilter, $value)
{
list($from, $to) = explode(' - ', $value);
$queryFilter->addDateFilter('date', ['from' => $from, 'to' => $to]);
}
}
Based on
dangrossman/bootstrap-daterangepicker
widget.