[Vtigercrm-commits] [vtiger development] #4118: Order filter name alphabetically
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Aug 14 05:53:42 EDT 2007
#4118: Order filter name alphabetically
-----------------------------+----------------------------------------------
Reporter: etienne.jodoin | Owner: etienne.jodoin
Type: enhancement | Status: new
Priority: unassigned | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.3
Resolution: | Keywords:
-----------------------------+----------------------------------------------
Comment (by etienne.jodoin):
I added this functionnality by doing the following changes:
File modules/CustomView/CustomView.php in function getCustomViewCombo
around line 150 after :
{{{
$tabid = getTabid($this->customviewmodule);
$ssql = "select vtiger_customview.* from vtiger_customview
inner join vtiger_tab on vtiger_tab.name = vtiger_customview.entitytype";
}}}
Replace :
{{{
$ssql .= " where vtiger_tab.tabid=".$tabid;
}}}
By :
{{{
$ssql .= " where vtiger_tab.tabid=".$tabid . " order by viewname";
}}}
However, it doesn't work on pre-defined filters when don't use the crm in
english since the viewname of those pre-defined filters are in english.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4118#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list