we have created our own Dashlet using custom xml configuration files. Everything seems work fine exception for the ticket sort.
We are not able to sort the ticket for "CustomerName" that is a column that we have made mandatory and at the same time we can not apply a filter to the column.
Code: Select all
<ConfigItem Name="DashboardBackend###2001-TicketSanitario" Required="0" Valid="1">
<Description Translatable="1">Parameters for the dashboard backend of the ticket Sent to XXXXX </Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Dashboard</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
<Item Key="Title" Translatable="1">Segnalazioni inoltrate XXXXX</Item>
<Item Key="Description" Translatable="1">Segnalazioni inoltrate a XXXXX</Item>
<Item Key="Attributes">StateIDs=24;OrderBy=Up;SortBy=TicketNumber;SortBy=CustomerName;</Item>
<Item Key="Filter">All</Item>
<Item Key="Time">Age</Item>
<Item Key="Limit">10</Item>
<Item Key="Permission">rw</Item>
<Item Key="Block">ContentLarge</Item>
<Item Key="Group"></Item>
<Item Key="Default">1</Item>
<Item Key="CacheTTLLocal">0.5</Item>
<Item Key="DefaultColumns">
<Hash>
<Item Key="Age">2</Item>
<Item Key="Changed">1</Item>
<Item Key="CustomerID">1</Item>
<Item Key="CustomerName">2</Item>
<Item Key="CustomerUserID">1</Item>
<Item Key="EscalationResponseTime">1</Item>
<Item Key="EscalationSolutionTime">1</Item>
<Item Key="EscalationTime">1</Item>
<Item Key="EscalationUpdateTime">1</Item>
<Item Key="TicketNumber">2</Item>
<Item Key="Lock">1</Item>
<Item Key="Owner">1</Item>
<Item Key="PendingTime">1</Item>
<Item Key="Queue">1</Item>
<Item Key="Responsible">1</Item>
<Item Key="Priority">1</Item>
<Item Key="Service">1</Item>
<Item Key="State">1</Item>
<Item Key="SLA">1</Item>
<Item Key="Title">2</Item>
<Item Key="Type">1</Item>
</Hash>
</Item>
</Hash>
</Setting>
</ConfigItem>