Hi, in the sections of the Dashboard view, it’s possible to change the SortBy attribute by using the Sysconfig Ticket -> Frontend::Agent::Dashboard options page for the relevant Dashboard section.
For example you can specify ‘SortBy=Age’ or ‘SortBy=Priority’.
I am wondering if it’s possible to choose a sub-sorting option, so for example you’d sort first by priority, then by age within a priority.
This is hinted at as a possibility in the Kernel/System/TicketSearch.pm module:
# OrderBy and SortBy (optional)
OrderBy => 'Down', # Down|Up
SortBy => 'Age', # Owner|Responsible|CustomerID|State|TicketNumber|Queue|Priority|Age|Type|Lock
# Changed|Title|Service|SLA|PendingTime|EscalationTime
# EscalationUpdateTime|EscalationResponseTime|EscalationSolutionTime
# DynamicField_FieldNameX
# OrderBy and SortBy as ARRAY for sub sorting (optional)
OrderBy => ['Down', 'Up'],
SortBy => ['Priority', 'Age'],
I have tried putting ‘SortBy=Priority,Age’ in the Sysconfig screen above but then I get no tickets returned in that Dashboard section.
Either I’ve got the syntax wrong or else maybe sub-sorting in Dashboard view isn’t possible?
Regards
Phil