Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.1
-
Fix Version/s: 2.1
-
Component/s: Core CiviCRM
-
Labels:None
Description
Seems like when we have a where clause with an OR in it, we dont add paranthesis in the right place, thus we get
group_id IN (1) AND custom_3 = 12 OR custom_4 = 15
instead of
group_id IN (1) AND ( custom_3 = 12 OR custom_4 = 15 )