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);
   }
 }
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

loganphp’s picture

Status: Needs review » Patch (to be ported)
chx’s picture

Thanks for the patch! Why is set to to be ported?

loganphp’s picture

Status: Patch (to be ported) » Needs review
chx’s picture

Status: Needs review » Fixed

Thank you very much!

  • chx committed 83bd8f1 on 7.x-1.x authored by loganphp
    Issue #2370891 by loganphp: Issue in EFQ view date field exposed filter...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.