Results 1 to 1 of 1

Thread: Outcome by Month Drilldown Issue

  1. #1
    gnorman2000 is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    11

    Default Outcome by Month Drilldown Issue

    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
    Last edited by gnorman2000; 2011-01-13 at 03:23 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Outcome by Month dashlet problem
    By mauoliveira in forum Help
    Replies: 1
    Last Post: 2010-10-22, 03:57 PM
  2. Outcome by Month
    By jerrymao in forum Developer Help
    Replies: 4
    Last Post: 2010-01-14, 08:40 AM
  3. How to set up Outcome by Month dashlet?
    By Monkeyman in forum Developer Help
    Replies: 0
    Last Post: 2009-06-13, 03:07 PM
  4. Replies: 2
    Last Post: 2008-04-02, 02:33 PM
  5. Replies: 5
    Last Post: 2005-10-26, 01:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •