Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In EFQ view date field exposed filter operators are not working except 'between' operator.
Following patch should be applied for fix this issue.
diff -Naur a/efq_views/handlers/efq_views_handler_filter_property_date.inc b/efq_views/handlers/efq_views_handler_filter_property_date.inc
--- a/efq_views/handlers/efq_views_handler_filter_property_date.inc 2014-06-21 03:12:04.000000000 +0530
+++ b/efq_views/handlers/efq_views_handler_filter_property_date.inc 2014-11-07 15:42:52.501796292 +0530
@@ -9,6 +9,6 @@
}
function op_simple($field) {
- $this->query->query->propertyCondition($field, parent::op_between($field), $this->operator);
+ $this->query->query->propertyCondition($field, parent::op_simple($field), $this->operator);
}
}
Comment | File | Size | Author |
---|---|---|---|
efq_views_date_filter_operator_issue_fix.patch | 605 bytes | loganphp | |
Comments
Comment #1
loganphp CreditAttribution: loganphp commentedComment #2
chx CreditAttribution: chx commentedThanks for the patch! Why is set to to be ported?
Comment #3
loganphp CreditAttribution: loganphp commentedComment #4
chx CreditAttribution: chx commentedThank you very much!