Resolves: https://github.com/cweiske/phinde/issues/25
$query = trim(str_replace($matches[0], '', $query));
$qMust[] = array(
'range' => array(
$query = trim(str_replace($matches[0], '', $query));
$qMust[] = array(
'range' => array(
+ 'status.modate' => array(
'gt' => $dateAfter . '||/d',
)
)
'gt' => $dateAfter . '||/d',
)
)
$query = trim(str_replace($matches[0], '', $query));
$qMust[] = array(
'range' => array(
$query = trim(str_replace($matches[0], '', $query));
$qMust[] = array(
'range' => array(
+ 'status.modate' => array(
'lt' => $dateBefore . '||/d',
)
)
'lt' => $dateBefore . '||/d',
)
)
$query = trim(str_replace($matches[0], '', $query));
$qMust[] = array(
'range' => array(
$query = trim(str_replace($matches[0], '', $query));
$qMust[] = array(
'range' => array(
+ 'status.modate' => array(
'gte' => $dateExact . '||/d',
'lte' => $dateExact . '||/d',
)
'gte' => $dateExact . '||/d',
'lte' => $dateExact . '||/d',
)