Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
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!