[Vtigercrm-commits] [Vtiger development] #8056: Time filter in Key Metrics not possible - results in error.
Vtiger development
vtiger-tickets at trac.vtiger.com
Sun May 18 19:26:13 GMT 2014
#8056: Time filter in Key Metrics not possible - results in error.
-----------------------+-------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: Unassigned
Component: vtigercrm | Version: 6.0.0
Severity: Medium | Resolution:
Keywords: |
-----------------------+-------------------------
Comment (by prasad):
While cleaning the CommonUtils.php the function has escaped its existence.
Copy of the function as in 5.4.0 (include/utils/CommonUtils.php)
{{{
function getUItype($module, $columnname) {
global $log;
$log->debug("Entering getUItype(" . $module . ") method ...");
$tabIdList = array();
//To find tabid for this module
$tabIdList[] = getTabid($module);
global $adb;
if ($module == 'Calendar') {
$tabIdList[] = getTabid('Events');
}
$sql = "select uitype from vtiger_field where tabid IN (" .
generateQuestionMarks($tabIdList) .
") and columnname=?";
$result = $adb->pquery($sql, array($tabIdList, $columnname));
$uitype = $adb->query_result($result, 0, "uitype");
$log->debug("Exiting getUItype method ...");
return $uitype;
}
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8056#comment:1>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list