protected function opBetween($field) {
if ($this->operator == 'between') {
$this->query
->addWhere($this->options['group'], $field, array(
$this->value['min'],
$this->value['max'],
), 'BETWEEN');
}
else {
$this->query
->addWhere($this->options['group'], db_or()
->condition($field, $this->value['min'], '<=')
->condition($field, $this->value['max'], '>='));
}
}