[Vtigercrm-commits] [vtiger-commits] r10830 - in /vtigercrm/branches/5.0.3/modules/Dashboard: Entity_charts.php vertical_bargraph.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu May 10 09:36:17 EDT 2007


Author: richie
Date: Thu May 10 07:36:11 2007
New Revision: 10830

Log:
fix for Homepage Dashboard - issue in links on the graph bars. Fixes #3732 --minnie

Modified:
    vtigercrm/branches/5.0.3/modules/Dashboard/Entity_charts.php
    vtigercrm/branches/5.0.3/modules/Dashboard/vertical_bargraph.php

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/Entity_charts.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/Entity_charts.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/Entity_charts.php Thu May 10 07:36:11 2007
@@ -282,7 +282,7 @@
 
 					if($graph_for == "accountid") $graph_for = "account_id";
 					if($module == "Home")
-						$link_val="index.php?module=".$name."&action=ListView&from_homepagedb=true&search_field=assigned_user_id&searchtype=BasicSearch&query=true&type=entchar&search_text=".$current_user->user_name;
+						$link_val="index.php?module=".$name."&action=ListView&from_homepagedb=true&type=dbrd&query=true&owner=".$current_user->user_name;
 					else
 						$link_val="index.php?module=".$module."&action=index&from_dashboard=true&search_text=".$name."&search_field=".$graph_for."&searchtype=BasicSearch&query=true&type=entchar";
 

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/vertical_bargraph.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/vertical_bargraph.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/vertical_bargraph.php Thu May 10 07:36:11 2007
@@ -155,7 +155,7 @@
 	// Add some grace to y-axis so the bars doesn't go
 	// all the way to the end of the plot area
 	if($max<=10)
-		$yaxis->forceMaximum(round(($max * 1.1) + 0.5));
+		$yaxis->forceMaximum(round(($max * 1.1) + 1.5));
 	elseif($max>10 && $max<=100)
 		$yaxis->forceMaximum(round(($max * 1.1) + 1.5));
 	elseif($max>100 && $max<=1000)





More information about the vtigercrm-commits mailing list