Hello,
I am using Sugar 5.2.k CE.
In the drilldown for the Outcome by Month chart, it is only passing the sales_stage and Date _closed_advanced params ex. &date_closed_advanced=2010-01&sales_stage=Closed+Won, Should it pass the assigned_users param also. if so how do I go about fixing it...
I know this part of the drill down code is getting executed in /include/SugarCharts/SugarChart.php in function xmlDataGenericChart() (the last else is getting executed)
Code:if (isset($drill_down) && $drill_down != ''){ for($i =0; $i < count($new_data[$groupByKey]); $i++){ if ($new_data[$groupByKey][$i][$group_by] == $groupByKey){ if ($drill_down == 'user_name'){ $drill_down_param = '&assigned_user_id[]=' . urlencode($new_data[$groupByKey][$i]['assigned_user_id']); } else if ($drill_down == 'm'){ $drill_down_param = '&date_closed_advanced=' . urlencode($new_data[$groupByKey][$i][$drill_down]); } else{ ]$paramValue = (isset($new_data[$groupByKey][$i][$drill_down."_dom_option"]) && $new_data[$groupByKey][$i][$drill_down."_dom_option"] != '') ? $new_data[$groupByKey][$i][$drill_down."_dom_option"] : $new_data[$groupByKey][$i][$drill_down]; $drill_down_param = '&' . $drill_down . '=' . urlencode($paramValue); }
Thanks for any help
Garry


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks