[Vtigercrm-commits] [vtiger-commits] r9131 - /vtigercrm/trunk/modules/Potentials/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Aug 24 10:02:04 EDT 2006
Author: richie
Date: Thu Aug 24 08:02:00 2006
New Revision: 9131
Log:
changes made to fix the DashBoard related issue --Minnie
Modified:
vtigercrm/trunk/modules/Potentials/ListView.php
Modified: vtigercrm/trunk/modules/Potentials/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Potentials/ListView.php (original)
+++ vtigercrm/trunk/modules/Potentials/ListView.php Thu Aug 24 08:02:00 2006
@@ -134,7 +134,10 @@
if(isset($where) && $where != '')
{
- $list_query .= " AND ".$where;
+ if(isset($_REQUEST['from_dashboard']) && $_REQUEST['from_dashboard'] == 'true')
+ $list_query .= " AND vtiger_potential.sales_stage = 'Closed Won' AND ".$where;
+ else
+ $list_query .= " AND ".$where;
}
if(isset($order_by) && $order_by != '')
More information about the vtigercrm-commits
mailing list