Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 4.7.9
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
The Query object pointlessly wraps queries in LOWER - eg
LOWER(civicrm_contribution.receive_date) BETWEEN "20150701000000" AND "20160630000000"
This has performance implications but does not alter the effect of the query as case insensitive searches are the norm in mysql