How to Change The Default Ticket Order In ListView
Last updated
Was this helpful?
Last updated
Was this helpful?
The example was created using Vtiger v7.1 code base. The later versions do have the same "sorting function", however the line number might be different.
Vtiger Version: v7.1
File: /modules/Vtiger/models/ListView.php
Line: 245~
Full Diff: (scroll down to line 245)
Screenshot:
Is what I added (new code)
Is where I copied from
Specifies the module, so in this case, it will only apply to Tickets (HelpDesk is the actual module name).
Use the fields from vtiger_crmentity
for sorting.