[Vtigercrm-commits] [vtiger-commits] r9130 - /vtigercrm/trunk/modules/Calendar/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Aug 24 09:59:37 EDT 2006
Author: richie
Date: Thu Aug 24 07:59:34 2006
New Revision: 9130
Log:
changes made to fix the DashBoard related issue --Minnie
Modified:
vtigercrm/trunk/modules/Calendar/ListView.php
Modified: vtigercrm/trunk/modules/Calendar/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/ListView.php (original)
+++ vtigercrm/trunk/modules/Calendar/ListView.php Thu Aug 24 07:59:34 2006
@@ -122,7 +122,10 @@
if(isset($where) && $where != '')
{
- $list_query .= " AND " .$where;
+ if(isset($_REQUEST['from_homepagedb']) && $_REQUEST['from_homepagedb'] == 'true')
+ $list_query .= " and ((vtiger_activity.status!='Completed' and vtiger_activity.status!='Deferred') or vtiger_activity.status is null) and ((vtiger_activity.eventstatus!='Held' and vtiger_activity.eventstatus!='Not Held') or vtiger_activity.eventstatus is null) AND ".$where;
+ else
+ $list_query .= " AND " .$where;
}
$list_query .= ' group by vtiger_activity.activityid';
More information about the vtigercrm-commits
mailing list