[Vtigercrm-commits] [vtiger-commits] r10751 - /vtigercrm/branches/5.0.3/Popup.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 20 13:08:07 EDT 2007
Author: richie
Date: Fri Apr 20 11:08:02 2007
New Revision: 10751
Log:
* Fixed the issue with product active check box ie., when we select products from popup only active products should be displayed, Fixed #3648
Modified:
vtigercrm/branches/5.0.3/Popup.php
Modified: vtigercrm/branches/5.0.3/Popup.php
==============================================================================
--- vtigercrm/branches/5.0.3/Popup.php (original)
+++ vtigercrm/branches/5.0.3/Popup.php Fri Apr 20 11:08:02 2007
@@ -228,8 +228,11 @@
else
$where_relquery = getPopupCheckquery($currentModule,$_REQUEST['task_parent_module'],$_REQUEST['task_relmod_id']);
}
-
- $query = getListQuery($currentModule,$where_relquery);
+
+ if($currentModule == 'Products')
+ $where_relquery .=" and discontinued <> 0 ";
+
+ $query = getListQuery($currentModule,$where_relquery);
}
if(isset($_REQUEST['query']) && $_REQUEST['query'] == 'true')
More information about the vtigercrm-commits
mailing list