getHttpValue()['from']) && ! isset($this->getHttpValue()['to'])) { throw new FilterParameterValueIsNullException($this->field); } if (isset($this->getHttpValue()['from'])) { $queryBuilder->where( 'strftime(\'%Y-%m-%d\', ' . $this->getColumn() . ') >= \'' . $this->getHttpValue()['from'] . '\'', ); } if (isset($this->getHttpValue()['to'])) { $queryBuilder->andWhere( 'strftime(\'%Y-%m-%d\', ' . $this->getColumn() . ') <= \'' . $this->getHttpValue()['to'] . '\'', ); } return $queryBuilder; } }