Some of the code was migrated to mongodb and as a result we got only one value for BETWEEN filter instead of an array with actual ranges.

Should be changed to:

--- a/handlers/efq_views_handler_filter_field_numeric.inc
+++ b/handlers/efq_views_handler_filter_field_numeric.inc
@@ -27,6 +27,6 @@ class efq_views_handler_filter_field_numeric extends efq_views_handler_filter_numeric.inc

   }
 
   function op_between($column) {
-    $this->query->query->fieldCondition($this->definition['field_name'], $column, $this->value['value'], "BETWEEN", efq_views_extract_delta($this));
+    $this->query->query->fieldCondition($this->definition['field_name'], $column, array($this->value['min'], $this->value['max']), "BETWEEN",  efq_views_extract_delta($this));
   }
 }
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

asgorobets’s picture

Status: Active » Needs review
FileSize
1.09 KB

Patch attached.

rli’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

The patch makes sense and works to me.
Please commit.