[Vtigercrm-commits] [vtiger development] #5344: Sales cycle stages strange
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Sep 2 13:08:48 EDT 2008
#5344: Sales cycle stages strange
-----------------------------+----------------------------------------------
Reporter: OlivierAufrere | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.1.0
Component: vtigercrm | Version: 5.0.4
Resolution: | Keywords: stage status quotes invoice
-----------------------------+----------------------------------------------
Comment (by OlivierAufrere):
Here is a fix, please check it (according to 5.0.4):[[BR]]
in include/utils/EditViewUtils.php[[BR]]
after //Query modified to fix the order of the picklist values ticket
#4367[[BR]]
if($module_name == 'HelpDesk' && $fieldname == 'ticketstatus')[[BR]]
{[[BR]]
$pick_query.=" order by ".$fieldname."_id asc";[[BR]]
}[[BR]]
else if($module_name != 'Events' && $module_name != 'Calendar')[[BR]]
$pick_query.=" order by $fieldname asc";[[BR]]
[[BR]]
May be applicable to admin to, then move it after the next }[[BR]]
[[BR]]
and to solve the sort trouble, change the last line to:[[BR]]
$pick_query.=" order by ".$fieldname."id asc";
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5344#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list