It would be nice if the Conditions in AOR_Reports where improved.
- Add Contains and Does_Not_Contain
for this I have hacked the code in modules/AOR_Reports.php and modified the line:
if(!$where_set) $query['where'][] = $field.' '.$app_list_strings['aor_sql_operator_list'][$condition->operator].' '.$value;
to:
if(strpos($value, "%") !== FALSE)
$MyOperator = "LIKE";
else
$MyOperator = $app_list_strings['aor_sql_operator_list'][$condition->operator];
if(!$where_set) $query['where'][] = $field.' '.$MyOperator.' '.$value;
-
AND and OR
Add as the first option starting from the second contion the possibility to choose AND or OR -
Parentheses
It would be also nice to being able to group conditions in parentheses (eg.: ((A AND (B OR C) AND (D OR E))