[Vtigercrm-commits] [vtiger-commits] r9477 - /vtigercrm/branches/4.2/modules/Leads/Lead.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 12 19:13:20 EDT 2006


Author: allanbush
Date: Tue Sep 12 17:13:17 2006
New Revision: 9477

Log:
Search only non-converted leads.  Closes #2182.

Modified:
    vtigercrm/branches/4.2/modules/Leads/Lead.php

Modified: vtigercrm/branches/4.2/modules/Leads/Lead.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Leads/Lead.php (original)
+++ vtigercrm/branches/4.2/modules/Leads/Lead.php Tue Sep 12 17:13:17 2006
@@ -185,7 +185,7 @@
 			$the_where .= $clause;
 		}
 		
-		return $the_where;
+		return 'leaddetails.converted = 0 AND ('.$the_where.')';
 	}
 	
 //method added to construct the query to fetch the custom fields 





More information about the vtigercrm-commits mailing list